NoticeIconTab.d.ts 728 Bytes
Newer Older
何乐's avatar
何乐 committed
1
import { SkeletonProps } from 'antd/lib/skeleton';
jim's avatar
jim committed
2
import * as React from 'react';
何乐's avatar
何乐 committed
3

jim's avatar
jim committed
4
export interface INoticeIconData {
Rayron Victor's avatar
Rayron Victor committed
5
  avatar?: string | React.ReactNode;
jim's avatar
jim committed
6 7 8 9 10 11 12 13
  title?: React.ReactNode;
  description?: React.ReactNode;
  datetime?: React.ReactNode;
  extra?: React.ReactNode;
  style?: React.CSSProperties;
}

export interface INoticeIconTabProps {
14
  count?: number;
jim's avatar
jim committed
15 16
  emptyText?: React.ReactNode;
  emptyImage?: string;
何乐's avatar
何乐 committed
17 18 19 20
  list?: INoticeIconData[];
  loadedAll?: boolean;
  loading?: boolean;
  name?: string;
jim's avatar
jim committed
21
  showClear?: boolean;
何乐's avatar
何乐 committed
22 23 24 25
  skeletonCount?: number;
  skeletonProps: SkeletonProps;
  style?: React.CSSProperties;
  title?: string;
jim's avatar
jim committed
26 27
}

jim's avatar
jim committed
28
export default class NoticeIconTab extends React.Component<INoticeIconTabProps, any> {}