0.28.0 • Published 5 years ago
@comparaonline/ui-button v0.28.0
@comparaonline/ui-button
Installation
yarn add @comparaonline/ui-button
Usage
import Button from '@comparaonline/ui-button';
prop | required | type | description | |
---|---|---|---|---|
variant | false | enum | The button type [contained | outlined] |
color | theme | enum | The button theme color [primary | secondary] |
disabled | false | bool | Disabled property and style | |
fullWidth | false | bool | Use max container height | |
hasRippleEffect | false | bool | Use ripple click effect | |
defaultElevation | false | number | Default shadow elevation 0 - 24 | |
hoverElevation | false | number | Hover shadow elevation 0 - 24 |