npm.io
6.1.0 • Published 4 years ago

@milantyeva/button

Licence
MIT
Version
6.1.0
Deps
2
Size
258 kB
Vulns
0
Weekly
0

Button

Button - is core component of UI-system.

size

NPM | Github

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