Button
Name | Description | Default |
---|---|---|
children* | The text to display in the button.ReactNode | - |
type | The button type.'button' | 'submit' | 'reset' | 'button' |
variant | Since: 1.1.0 The button variant. 'default' | 'primary' | 'success' | 'danger' | 'default' |
onClick | Button click event handler.(event: React.MouseEvent<HTMLButtonElement>) => void event The click event. | - |