Content
The Content component handles WYSIWYG-type content, where HTML elements have no class names, by applying Bulma’s content styling.
Playground
Props
Examples
Sizes
Small Content
This is small content.
Normal Content
This is normal content.
Medium Content
This is medium content.
Large Content
This is large content.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
as | ElementType | 'div' | The HTML element to render the content as. |
children | ReactNode | - | The content to display. |
className | string | - | Additional CSS classes. |
size | ThemeSize | - | Sets the size of the content. |
See also
Last updated on