type.d.ts 760 B

1234567891011121314151617181920212223242526272829303132333435
  1. export interface TdCountDownProps {
  2. autoStart?: {
  3. type: BooleanConstructor;
  4. value?: boolean;
  5. };
  6. content?: {
  7. type: StringConstructor;
  8. value?: string;
  9. };
  10. format?: {
  11. type: StringConstructor;
  12. value?: string;
  13. };
  14. millisecond?: {
  15. type: BooleanConstructor;
  16. value?: boolean;
  17. };
  18. size?: {
  19. type: StringConstructor;
  20. value?: 'small' | 'medium' | 'large';
  21. };
  22. splitWithUnit?: {
  23. type: BooleanConstructor;
  24. value?: boolean;
  25. };
  26. theme?: {
  27. type: StringConstructor;
  28. value?: 'default' | 'round' | 'square';
  29. };
  30. time: {
  31. type: NumberConstructor;
  32. value?: number;
  33. required?: boolean;
  34. };
  35. }