Bolt Label
One label to rule them all.
Installation
> yarn add @pismo/bolt-label
Usage
import Label from '@pismo/bolt-label'
Props
Prop | Type | Description | Required | Default |
---|---|---|---|---|
size | enum | 'small', 'medium', 'large' | false | 'medium' |
weight | enum | 'normal', 'primary' | false | 'normal' |
innerRef | func | returns the actual ref of the inner <span />
|
false | Function.prototype |