2.3.0 • Published 5 years ago
@devseed-ui/heading v2.3.0
Heading
Example
import Heading from '@devseed-ui/heading';
<Heading theme={theme.main} className='title-class'>
Title
</Heading>
Output HTML
<h1 class="sc-htpNat cdArJb title-class">
Title
</h1>
Properties
Prop | Type | Description | Default |
---|---|---|---|
variant | 'base' , 'primary' , 'secondary' | Sets the style variant of the button. | 'base' |
className | string | Adds a className to the class attribute. | '' |
Any other properties will be spread on the input element.