npm.io
4.5.3 • Published 9 months ago

@hawk-ui/label

Licence
MIT
Version
4.5.3
Deps
3
Size
24 kB
Vulns
0
Weekly
0

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

Demo

import Label from '@hawk-ui/label';
<Label
  title="Label"
/>
With Required

Demo

import Label from '@hawk-ui/label';
<Label
  title="Label"
  isRequired
/>
With Left icon

Demo

import Label from '@hawk-ui/label';
<Label
  icon="fa fa-copy"
  title="Label"
/>
With Right icon

Demo

import Label from '@hawk-ui/label';
<Label
  icon="fa fa-copy"
  iconPlacement="right"
  title="Label"
  isRequired
/>

Keywords