@checkout-kit/ui / CopyButtonProps
Interface: CopyButtonProps
Extends
Omit<ButtonProps,"children"|"onClick">
Properties
| Property | Type | Description | Overrides | Inherited from |
|---|---|---|---|---|
busy? | boolean | Shows a spinner and stops responding. Keeps the label: it is a moving target otherwise. | - | ButtonProps.busy |
children? | ReactNode | - | - | - |
className? | string | - | - | ButtonProps.className |
copiedLabel? | string | - | - | - |
fullWidth? | boolean | - | - | ButtonProps.fullWidth |
leftIcon? | ReactNode | - | - | ButtonProps.leftIcon |
onCopied? | (value) => void | - | - | - |
ref? | Ref<HTMLButtonElement> | - | - | ButtonProps.ref |
resetAfterMs? | number | How long the confirmation stays up. | - | - |
rightIcon? | ReactNode | - | - | ButtonProps.rightIcon |
size? | "sm" | "md" | - | - | Omit.size |
type? | "submit" | "reset" | "button" | - | - | Omit.type |
value | string | What lands on the clipboard: a transfer code, a reference, an IBAN. | Omit.value | - |
variant? | ButtonVariant | - | - | ButtonProps.variant |