Type Definitions
object
# TextProps
Prop Types of a Text component.
Apart from variant it extends all ColorProps, SpaceProps and TypographyProps
Properties:
Name | Type | Attributes | Description |
---|---|---|---|
... |
string
|
<optional> |
Other props from ColorProps, SpaceProps and TypographyProps |
variant |
'xs'
|
'sm'
|
'lg'
|
<optional> |
Optional variant of a |
as |
string
|
<optional> |
Define this if you want to render element as something other than div |