minishouyin/node_modules/antd/es/typography/style/index.d.ts

19 lines
730 B
TypeScript
Raw Normal View History

2025-11-12 11:35:57 +08:00
import type { FullToken, GetDefaultToken } from '../../theme/internal';
/** Component only token. Which will handle additional calculation of alias token */
export interface ComponentToken {
/**
* @desc
* @descEN Margin top of title
*/
titleMarginTop: number | string;
/**
* @desc
* @descEN Margin bottom of title
*/
titleMarginBottom: number | string;
}
export type TypographyToken = FullToken<'Typography'>;
export declare const prepareComponentToken: GetDefaultToken<'Typography'>;
declare const _default: (prefixCls: string, rootCls?: string) => readonly [(node: React.ReactElement) => React.ReactElement, string, string];
export default _default;