index.d.ts 1015 B

123456789101112131415161718192021222324252627282930
  1. import type { FullToken, GetDefaultToken } from '../../theme/internal';
  2. /** Component only token. Which will handle additional calculation of alias token */
  3. export interface ComponentToken {
  4. }
  5. export interface FlexToken extends FullToken<'Flex'> {
  6. /**
  7. * @nameZH 小间隙
  8. * @nameEN Small Gap
  9. * @desc 控制元素的小间隙。
  10. * @descEN Control the small gap of the element.
  11. */
  12. flexGapSM: number;
  13. /**
  14. * @nameZH 间隙
  15. * @nameEN Gap
  16. * @desc 控制元素的间隙。
  17. * @descEN Control the gap of the element.
  18. */
  19. flexGap: number;
  20. /**
  21. * @nameZH 大间隙
  22. * @nameEN Large Gap
  23. * @desc 控制元素的大间隙。
  24. * @descEN Control the large gap of the element.
  25. */
  26. flexGapLG: number;
  27. }
  28. export declare const prepareComponentToken: GetDefaultToken<'Flex'>;
  29. declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
  30. export default _default;