6.1.0 • Published 2 years ago

@milantyeva/button v6.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Button

Button - is core component of UI-system.

size npm.io

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