1 | import * as React from 'react';
|
2 | import Countdown from './Countdown';
|
3 | import { valueType, FormatConfig } from './utils';
|
4 | interface StatisticComponent {
|
5 | Countdown: typeof Countdown;
|
6 | }
|
7 | export 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 | }
|
21 | declare const WrapperStatistic: React.FC<StatisticProps> & StatisticComponent;
|
22 | export default WrapperStatistic;
|