type.d.ts 682 B

123456789101112131415161718192021222324252627282930
  1. export interface TdStepsProps {
  2. current?: {
  3. type: null;
  4. value?: string | number;
  5. };
  6. defaultCurrent?: {
  7. type: null;
  8. value?: string | number;
  9. };
  10. currentStatus?: {
  11. type: StringConstructor;
  12. value?: 'default' | 'process' | 'finish' | 'error';
  13. };
  14. layout?: {
  15. type: StringConstructor;
  16. value?: 'horizontal' | 'vertical';
  17. };
  18. readonly?: {
  19. type: BooleanConstructor;
  20. value?: boolean;
  21. };
  22. sequence?: {
  23. type: StringConstructor;
  24. value?: 'positive' | 'reverse';
  25. };
  26. theme?: {
  27. type: StringConstructor;
  28. value?: 'default' | 'dot';
  29. };
  30. }