Licence
MIT
Version
6.1.0
Deps
2
Size
258 kB
Vulns
0
Weekly
0
Button
Button - is core component of UI-system.
Installation
yarn add @propellerads/buttonornpm 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