Props
Attributes
- Graph
- Supertypes
- trait WithChildren[VdomNode]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Classlikes
Set the text-align on the component.
Set the text-align on the component.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- align.type
The color of the component. It supports those theme colors that make sense for this component.
The color of the component. It supports those theme colors that make sense for this component.
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- color.type
Controls the display type
Controls the display type
Attributes
- Graph
- Supertypes
- class Prop[String]class Objecttrait Matchableclass Any
- Self type
- display.type
Value members
Concrete methods
The content of the component.
The content of the component.
Attributes
Override or extend the styles applied to the component. See CSS API below for more details.
Override or extend the styles applied to the component. See CSS API below for more details.
Attributes
The component used for the root node.
Either a string to use a HTML element or a component.
Overrides the behavior of the variantMapping
prop.
The component used for the root node.
Either a string to use a HTML element or a component.
Overrides the behavior of the variantMapping
prop.
Attributes
If true
, the text will have a bottom margin.
If true
, the text will have a bottom margin.
Attributes
If true
, the text will not wrap, but instead will truncate with a text overflow ellipsis.
If true
, the text will not wrap, but instead will truncate with a text overflow ellipsis.
Note that text overflow can only happen with block or inline-block level elements (the element needs to have a width in order to overflow).
Attributes
If true
, the text will have a bottom margin.
If true
, the text will have a bottom margin.
Attributes
The component maps the variant prop to a range of different HTML element types.
For instance, subtitle1 to ====
.
If you wish to change that mapping, you can provide your own.
Alternatively, you can use the component
prop.
The component maps the variant prop to a range of different HTML element types.
For instance, subtitle1 to ====
.
If you wish to change that mapping, you can provide your own.
Alternatively, you can use the component
prop.
Attributes
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes