# Button
`Button` - is core component of UI-system.

![size](https://img.shields.io/bundlephobia/min/@propellerads/button.svg)
![](https://img.shields.io/npm/v/@propellerads/button.svg?style=flat-square)

[NPM](https://www.npmjs.com/package/@propellerads/button) |
[Github](https://github.com/propellerads/ui-components/tree/master/Components/Button)

## Installation
* `yarn add @propellerads/button` or `npm install @propellerads/button -S`

### How to use
* `import Button, {BUTTON_TYPE, BUTTON_SIZE} from '@propellerads/button';`
* And render `<Button>Your text</Button>`

### isAsync prop 
Using `isAsync` prop allows the component perform async operation disable `onclick behaviour` and show `loading` automatically 
