bpk-component-label
v6.1.2
Published
Backpack label component.
Downloads
543
Maintainers
Keywords
Readme
bpk-component-label
Backpack label component.
Installation
npm install bpk-component-label --save-dev
Usage
import React from 'react';
import BpkLabel from 'bpk-component-label';
export default () => (
<BpkLabel htmlFor="origin">Origin</BpkLabel>
)
Props
| Property | PropType | Required | Default Value | | --------- | -------- | -------- | ------------- | | children | node | true | - | | disabled | bool | false | false | | invalid | bool | false | false | | required | bool | false | false | | white | bool | false | false |