UNPKG

791 BTypeScriptView Raw
1import * as React from 'react';
2import Countdown from './Countdown';
3import { valueType, FormatConfig } from './utils';
4interface StatisticComponent {
5 Countdown: typeof Countdown;
6}
7export interface StatisticProps extends FormatConfig {
8 prefixCls?: string;
9 className?: string;
10 style?: React.CSSProperties;
11 value?: valueType;
12 valueStyle?: React.CSSProperties;
13 valueRender?: (node: React.ReactNode) => React.ReactNode;
14 title?: React.ReactNode;
15 prefix?: React.ReactNode;
16 suffix?: React.ReactNode;
17 loading?: boolean;
18 onMouseEnter?: React.MouseEventHandler<HTMLDivElement>;
19 onMouseLeave?: React.MouseEventHandler<HTMLDivElement>;
20}
21declare const WrapperStatistic: React.FC<StatisticProps> & StatisticComponent;
22export default WrapperStatistic;