BodyText
Body copy in text-sm and the primary text color.
Body text uses text-sm and the app-text color.
Any element via the as prop, with extra classes.
Props
asElementTypeDefault:'p'Element to render.
classNamestringDefault:''Extra classes for the root element.
childrenReactNodeContent.
...restAny other props are passed to the underlying element.
| Prop | Type | Default | Description |
|---|---|---|---|
as | ElementType | 'p' | Element to render. |
className | string | '' | Extra classes for the root element. |
children | ReactNode | – | Content. |
...rest | – | Any other props are passed to the underlying element. |