antd
Version:
An enterprise-class UI design language and React components implementation
19 lines (18 loc) • 730 B
TypeScript
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;