TypographyOwnProps

Properties

Link copied to clipboard
abstract var align: TypographyAlign?

Set the text-align on the component.

Link copied to clipboard
abstract override var children: ReactNode?

The content of the component.

Link copied to clipboard
abstract var classes: TypographyClasses?

Override or extend the styles applied to the component.

Link copied to clipboard
abstract var gutterBottom: Boolean?

If true, the text will have a bottom margin.

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

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

Link copied to clipboard
abstract var paragraph: Boolean?

If true, the element will be a paragraph element.

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

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

Link copied to clipboard
abstract var variant: TypographyVariant?

Applies the theme typography styles.

Link copied to clipboard
abstract var variantMapping: dynamic

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