type.d.ts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. import { LoadingProps } from '../loading/index';
  2. export interface TdPullDownRefreshProps {
  3. disabled?: {
  4. type: BooleanConstructor;
  5. value?: boolean;
  6. };
  7. enableBackToTop?: {
  8. type: BooleanConstructor;
  9. value?: boolean;
  10. };
  11. enablePassive?: {
  12. type: BooleanConstructor;
  13. value?: boolean;
  14. };
  15. loadingBarHeight?: {
  16. type: null;
  17. value?: string | number;
  18. };
  19. loadingProps?: {
  20. type: ObjectConstructor;
  21. value?: LoadingProps;
  22. };
  23. loadingTexts?: {
  24. type: ArrayConstructor;
  25. value?: string[];
  26. };
  27. lowerThreshold?: {
  28. type: null;
  29. value?: string | number;
  30. };
  31. maxBarHeight?: {
  32. type: null;
  33. value?: string | number;
  34. };
  35. refreshTimeout?: {
  36. type: NumberConstructor;
  37. value?: number;
  38. };
  39. scrollIntoView?: {
  40. type: StringConstructor;
  41. value?: string;
  42. };
  43. showScrollbar?: {
  44. type: BooleanConstructor;
  45. value?: boolean;
  46. };
  47. successDuration?: {
  48. type: null;
  49. value?: string | number;
  50. };
  51. upperThreshold?: {
  52. type: null;
  53. value?: string | number;
  54. };
  55. usingCustomNavbar?: {
  56. type: BooleanConstructor;
  57. value?: boolean;
  58. };
  59. value?: {
  60. type: BooleanConstructor;
  61. value?: boolean;
  62. };
  63. defaultValue?: {
  64. type: BooleanConstructor;
  65. value?: boolean;
  66. };
  67. }