Go to playground to see all available properties for the button component.
npm i geetork-lib
import { Button } from geetork-lib
Propery | Values |
---|---|
type | 'solid' | 'outline' | 'soft' | 'ghost' |
size | 'smaill' | 'medium' | 'large' |
style | 'primary' | 'secondary' | 'danger' |
iconType | 'none' | 'leading' | 'trailing' | 'leadingTrailer' | 'standalone' |
disabled | true | false |
onClick | () => void |
Component supports both dark and light themes.