TypographyOwnProps

Properties

Link copied to clipboard
abstract external var align: TypographyAlign?

Set the text-align on the component.

Link copied to clipboard
abstract external override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract external var classes: TypographyClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract external var color: Union?

The color of the component. It supports both default and custom theme colors, which can be added as shown in the palette customization guide.

Link copied to clipboard
abstract external var gutterBottom: Boolean?

If true, the text will have a bottom margin.

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var noWrap: Boolean?

If true, the text will not wrap, but instead will truncate with a text overflow ellipsis.

Link copied to clipboard
abstract external override var sx: SxProps<Theme>?

The system prop that allows defining system overrides as well as additional CSS styles.

Link copied to clipboard
abstract external var variant: TypographyVariant?

Applies the theme typography styles.

Link copied to clipboard
abstract external var variantMapping: Any?

The component maps the variant prop to a range of different HTML element types. For instance, subtitle1 to <h6>. If you wish to change that mapping, you can provide your own. Alternatively, you can use the component prop.

Functions

Link copied to clipboard
open inline external fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator external fun <P : Props> ElementType<P>.invoke()
open inline operator external fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator external fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator external fun Char.unaryPlus()
open inline operator external fun String?.unaryPlus()
open inline operator external fun ReactNode?.unaryPlus()
open inline operator external fun Props?.unaryPlus()