index.d.ts 258 Bytes
Newer Older
陈小聪's avatar
陈小聪 committed
1
import React from 'react';
jim's avatar
jim committed
2
export interface ICountDownProps {
3 4 5 6 7 8
  format?: (time: number) => void;
  target: Date | number;
  onEnd?: () => void;
  style?: React.CSSProperties;
}

jim's avatar
jim committed
9
export default class CountDown extends React.Component<ICountDownProps, any> {}