NoticeIconTab.d.ts 729 Bytes
Newer Older
sin's avatar
sin committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
import { SkeletonProps } from 'antd/lib/skeleton';
import * as React from 'react';

export interface INoticeIconData {
  avatar?: string | React.ReactNode;
  title?: React.ReactNode;
  description?: React.ReactNode;
  datetime?: React.ReactNode;
  extra?: React.ReactNode;
  style?: React.CSSProperties;
}

export interface INoticeIconTabProps {
  count?: number;
  emptyText?: React.ReactNode;
  emptyImage?: string;
  list?: INoticeIconData[];
  loadedAll?: boolean;
  loading?: boolean;
  name?: string;
  showClear?: boolean;
  skeletonCount?: number;
  skeletonProps?: SkeletonProps;
  style?: React.CSSProperties;
  title?: string;
}

export default class NoticeIconTab extends React.Component<INoticeIconTabProps, any> {}