UNPKG

@nutui/nutui-react-taro

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

20 lines (19 loc) 661 B
import { default as React, ReactNode } from 'react'; import { BasicComponent } from '../../utils/typings'; export interface CountDownProps extends BasicComponent { paused: boolean; startTime: number; endTime: number; remainingTime: number; millisecond: boolean; format: string; autoStart: boolean; time: number; destroy: boolean; onEnd: () => void; onPaused: (restTime: number) => void; onRestart: (restTime: number) => void; onUpdate: (restTime: any) => void; children: ReactNode; } export declare const CountDown: React.ForwardRefExoticComponent<Partial<CountDownProps> & React.RefAttributes<unknown>>;