index.d.ts 730 B

123456789101112131415161718
  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. * @desc 标题上间距
  6. * @descEN Margin top of title
  7. */
  8. titleMarginTop: number | string;
  9. /**
  10. * @desc 标题下间距
  11. * @descEN Margin bottom of title
  12. */
  13. titleMarginBottom: number | string;
  14. }
  15. export type TypographyToken = FullToken<'Typography'>;
  16. export declare const prepareComponentToken: GetDefaultToken<'Typography'>;
  17. declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
  18. export default _default;