Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@hawk-ui/label

saurabh2112249MIT4.5.0

hawk-ui: Basic Label Component

label, react, react component, react label, hawk, hawk-ui, ui

readme

Installation

To install a component run

$ npm install @hawk-ui/label --save

Please import CSS styles via

`scss noeditor @import '/pathtonode_modules/@hawk-ui/label/dist/index.min.css



## Usage


#### Without Required
[Demo](https://hawk.oncrypt.co/#!/Label/1)
```js static
import Label from '@hawk-ui/label';
<Label
  title="Label"
/>

With Required

Demo `js static import Label from '@hawk-ui/label';

```js
<Label
  title="Label"
  isRequired
/>

With Left icon

Demo `js static import Label from '@hawk-ui/label';

```js
<Label
  icon="fa fa-copy"
  title="Label"
/>

With Right icon

Demo `js static import Label from '@hawk-ui/label';

```js
<Label
  icon="fa fa-copy"
  iconPlacement="right"
  title="Label"
  isRequired
/>