@checkout-kit/ui / ButtonProps
Interface: ButtonProps
Extends
Omit<ButtonHTMLAttributes<HTMLButtonElement>,"type">
Properties
| Property | Type | Description | Overrides |
|---|---|---|---|
busy? | boolean | Shows a spinner and stops responding. Keeps the label: it is a moving target otherwise. | - |
children | ReactNode | - | Omit.children |
className? | string | - | Omit.className |
fullWidth? | boolean | - | - |
leftIcon? | ReactNode | - | - |
ref? | Ref<HTMLButtonElement> | - | - |
rightIcon? | ReactNode | - | - |
size? | "sm" | "md" | - | - |
type? | "submit" | "reset" | "button" | - | - |
variant? | ButtonVariant | - | - |