/** * Typography Component - Lynx 版 MUI Typography * 用于显示文本内容 */ import './Typography.css'; export type TypographyVariant = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'button' | 'caption' | 'overline' | 'inherit'; export type TextAlign = 'left' | 'center' | 'right' | 'justify' | 'inherit'; export type TypographyColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success' | 'textPrimary' | 'textSecondary' | 'textDisabled' | 'inherit'; export interface TypographyProps { /** 变体 */ variant?: TypographyVariant; /** 文本对齐 */ align?: TextAlign; /** 颜色 */ color?: TypographyColor | string; /** 是否不换行 */ noWrap?: boolean; /** 底部边距 */ gutterBottom?: boolean; /** 是否为段落 */ paragraph?: boolean; /** 子元素 */ children?: any; /** 自定义类名 */ className?: string; /** 内联样式 */ style?: Record; /** sx 属性 */ sx?: Record; /** 点击事件 */ bindtap?: () => void; } export declare function Typography({ variant, align, color, noWrap, gutterBottom, paragraph, children, className, style, sx, ...props }: TypographyProps): JSX.Element; export default Typography; //# sourceMappingURL=index.d.ts.map