@hawk-ui/label
v4.4.4
Published
hawk-ui: Basic Label Component
Downloads
1,050
Maintainers
Readme
Installation
To install a component run
$ npm install @hawk-ui/label --save
Please import CSS styles via
@import '/path__to__node_modules/@hawk-ui/label/dist/index.min.css
Usage
Without Required
import Label from '@hawk-ui/label';
<Label
title="Label"
/>
With Required
import Label from '@hawk-ui/label';
<Label
title="Label"
isRequired
/>
With Left icon
import Label from '@hawk-ui/label';
<Label
icon="fa fa-copy"
title="Label"
/>
With Right icon
import Label from '@hawk-ui/label';
<Label
icon="fa fa-copy"
iconPlacement="right"
title="Label"
isRequired
/>