mirror of
https://github.com/chillzhuang/Sword
synced 2024-09-28 23:54:05 +08:00
29 lines
729 B
TypeScript
29 lines
729 B
TypeScript
|
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> {}
|