Button
Useful to communicate actions to your users.
Props
Prop | Type | Description |
---|---|---|
children | ReactNode | The content to render |
appearance | default | minimal | negative | positive | The theming to apply |
type | * | The type attribute specifies the type of button |
icon | String | A icon of the button |
hasBorder | Boolean | Whether it should have border or not |
isDisabled | Boolean | Whether it is disable or not |
onClick | Function | A function to be called when on click |
Examples
todo