NoticeIconTab.d.ts 770 字节
Newer Older
何乐 已提交
1
import { SkeletonProps } from 'antd/lib/skeleton';
陈小聪 已提交
2
import React from 'react';
何乐 已提交
3

陈小聪 已提交
4
export interface NoticeIconData {
R
Rayron Victor 已提交
5
  avatar?: string | React.ReactNode;
J
jim 已提交
6 7 8 9 10 11 12
  title?: React.ReactNode;
  description?: React.ReactNode;
  datetime?: React.ReactNode;
  extra?: React.ReactNode;
  style?: React.CSSProperties;
}

陈小聪 已提交
13
export interface NoticeIconTabProps {
14
  count?: number;
J
jim 已提交
15 16
  emptyText?: React.ReactNode;
  emptyImage?: string;
陈小聪 已提交
17
  list?: NoticeIconData[];
何乐 已提交
18
  name?: string;
J
jim 已提交
19
  showClear?: boolean;
20
  showViewMore?: boolean;
何乐 已提交
21 22
  style?: React.CSSProperties;
  title?: string;
陈小聪 已提交
23 24 25 26 27
  data?: any[];
  onClick: (item: any) => void;
  onClear: (item: any) => void;
  locale: any;
  onViewMore: (e: any) => void;
J
jim 已提交
28 29
}

陈小聪 已提交
30
export default class NoticeIconTab extends React.Component<NoticeIconTabProps, any> {}