💡 This Button is elpo-ui Button Component
import { Button } from 'elpo-ui';
Name | Type | Defulat | Description |
---|---|---|---|
children | React.ReactNode | The content of the button. | |
color | 'primary', 'secondary', 'inherit' | primary | The color of the component. You are welcome to suggest the color code you want. |
theme | 'outlined', 'fill', 'text', 'delete' | fill | The theme of the button. |
animation | boolean | true | Whether to enable hover animation of the button. |
disabled | boolean | false | If true, the button will be disabled. |
size | large', 'medium', 'small' | medium | The size of the button. |
startIcon | React.ReactNode | Element placed before the children. | |
endIcon | React.ReactNode | Element placed after the children. | |
mobileViewButton | {icon: React.ReactNode, viewSize: string} | MobileViewButton allows you to experience reactive optimized button ui. |