@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 |
color |
theme |
enum |
The button theme color [primary |
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] |