Button
Button
- is core component of UI-system.
Installation
-
yarn add @propellerads/button
ornpm 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