Skip to content

@checkout-kit/ui / CopyButtonProps

Interface: CopyButtonProps ​

Extends ​

Properties ​

PropertyTypeDescriptionOverridesInherited from
busy?booleanShows 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?numberHow long the confirmation stays up.--
rightIcon?ReactNode--ButtonProps.rightIcon
size?"sm" | "md"--Omit.size
type?"submit" | "reset" | "button"--Omit.type
valuestringWhat lands on the clipboard: a transfer code, a reference, an IBAN.Omit.value-
variant?ButtonVariant--ButtonProps.variant

Apache-2.0 · Headless engine, provider adapters and runnable examples.