Interface TypographyProps

Interface for PropTypes for the Typography component.

Hierarchy

  • BaseStyleProp<TypographyStyles>
    • TypographyProps

Properties

align?: TextAlign

Set the text-align on the component.

Default

'left'

children: ReactNode

The content of the component.

className?: string

The class name to be applied to the element.

classes?: Partial<Record<"root", CSSProperties>>

Override or extend the styles applied to the component.

variant?: "caption" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "body1" | "body2"

Applies the theme typography styles.

Default

'body1'

Generated using TypeDoc