props.ts 682 B

123456789101112131415161718192021222324252627
  1. import type { ClListViewItem, PassThroughProps } from "../../types";
  2. export type ClListViewPassThrough = {
  3. className?: string;
  4. item?: PassThroughProps;
  5. indexBar?: PassThroughProps;
  6. };
  7. export type ClListViewProps = {
  8. className?: string;
  9. pt?: ClListViewPassThrough;
  10. data?: ClListViewItem[];
  11. itemHeight?: number;
  12. headerHeight?: number;
  13. topHeight?: number;
  14. bottomHeight?: number;
  15. bufferSize?: number;
  16. virtual?: boolean;
  17. // 下拉刷新相关属性
  18. refresherEnabled?: boolean;
  19. refresherThreshold?: number;
  20. refresherTriggered?: boolean;
  21. refresherBackground?: string;
  22. refresherDefaultText?: string;
  23. refresherPullingText?: string;
  24. refresherRefreshingText?: string;
  25. };