UNPKG

antd-fx67ll-test

Version:

这是一个测试着玩的私服antd项目,完全照抄v4.16.6的antd源码,请勿使用,仅做发布测试(因每次发布必须要升版本,如发现版本出入请忽略,与官方无关)

24 lines (23 loc) 916 B
import * as React from 'react'; import { StatisticProps } from './Statistic'; import { countdownValueType, FormatConfig } from './utils'; interface CountdownProps extends StatisticProps { value?: countdownValueType; format?: string; onFinish?: () => void; onChange?: (value?: countdownValueType) => void; } declare class Countdown extends React.Component<CountdownProps, {}> { static defaultProps: Partial<CountdownProps>; countdownId?: number; componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; syncTimer: () => void; startTimer: () => void; stopTimer: () => void; formatCountdown: (value: countdownValueType, config: FormatConfig) => string; valueRender: (node: React.ReactElement<HTMLDivElement>) => React.ReactElement<any, string | React.JSXElementConstructor<any>>; render(): JSX.Element; } export default Countdown;