type.d.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. export interface TdLoadingProps {
  2. delay?: {
  3. type: NumberConstructor;
  4. value?: number;
  5. };
  6. duration?: {
  7. type: NumberConstructor;
  8. value?: number;
  9. };
  10. fullscreen?: {
  11. type: BooleanConstructor;
  12. value?: boolean;
  13. };
  14. indicator?: {
  15. type: BooleanConstructor;
  16. value?: boolean;
  17. };
  18. inheritColor?: {
  19. type: BooleanConstructor;
  20. value?: boolean;
  21. };
  22. layout?: {
  23. type: StringConstructor;
  24. value?: 'horizontal' | 'vertical';
  25. };
  26. loading?: {
  27. type: BooleanConstructor;
  28. value?: boolean;
  29. };
  30. pause?: {
  31. type: BooleanConstructor;
  32. value?: boolean;
  33. };
  34. progress?: {
  35. type: NumberConstructor;
  36. value?: number;
  37. };
  38. reverse?: {
  39. type: BooleanConstructor;
  40. value?: boolean;
  41. };
  42. size?: {
  43. type: StringConstructor;
  44. value?: string;
  45. };
  46. text?: {
  47. type: StringConstructor;
  48. value?: string;
  49. };
  50. theme?: {
  51. type: StringConstructor;
  52. value?: 'circular' | 'spinner' | 'dots';
  53. };
  54. }