import React from 'react'; /** * 文字排版组件 */ export declare const TypographyWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, Props, never>; /** * 文字排版组件类型 */ export interface Props { /** * 子元素 */ children: React.ReactNode; /** * 变更DOM元素 */ as?: React.ElementType; /** * 自定义类名 */ className?: string; /** * 指定样式 */ style?: React.CSSProperties; /** * 文本对齐方式,默认左对齐 */ align?: 'center' | 'left' | 'right'; /** * 是否换行 */ noWrap?: boolean; /** * 是否在底部添加间隙,H1~H6、Subtitle1、Subtitle2 */ gutterBottom?: boolean; /** * 是否为段落,Body1、Body2 */ paragraph?: boolean; /** * 指定颜色,primary secondary textPrimary textSecondary error warning success info */ color?: string; /** * 文本样式类型 */ type?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'subtitle1' | 'subtitle2' | 'body1' | 'body2' | 'caption' | 'overline'; } declare const Typography: React.ForwardRefExoticComponent>; export default Typography;