npm.io
2.3.0 • Published 6 years ago

@devseed-ui/heading

Licence
MIT
Version
2.3.0
Deps
2
Size
27 kB
Vulns
0
Weekly
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.