You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
InternshipProject/node_modules/antd/lib/statistic/Countdown.d.ts

24 lines
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;