NoticeIconTab.d.ts 652 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
  list?: INoticeIconData[];
  name?: string;
jim's avatar
jim committed
19
  showClear?: boolean;
20
  showViewMore?: boolean;
何乐's avatar
何乐 committed
21 22
  style?: React.CSSProperties;
  title?: string;
jim's avatar
jim committed
23 24
}

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