@devseed-ui/header
v1.5.4
Published
devseed UI Kit Header
Downloads
3
Readme
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.