index.d.ts 1022 B

123456789101112131415161718192021222324252627282930313233343536
  1. import type { GetDefaultToken } from '../../theme/internal';
  2. export interface ComponentToken {
  3. /**
  4. * @desc 列表宽度
  5. * @descEN Width of list
  6. */
  7. listWidth: number | string;
  8. /**
  9. * @desc 大号列表宽度
  10. * @descEN Width of large list
  11. */
  12. listWidthLG: number | string;
  13. /**
  14. * @desc 列表高度
  15. * @descEN Height of list
  16. */
  17. listHeight: number | string;
  18. /**
  19. * @desc 列表项高度
  20. * @descEN Height of list item
  21. */
  22. itemHeight: number | string;
  23. /**
  24. * @desc 列表项纵向内边距
  25. * @descEN Vertical padding of list item
  26. */
  27. itemPaddingBlock: number | string;
  28. /**
  29. * @desc 顶部高度
  30. * @descEN Height of header
  31. */
  32. headerHeight: number | string;
  33. }
  34. export declare const prepareComponentToken: GetDefaultToken<'Transfer'>;
  35. declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
  36. export default _default;