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