Skip to content

@checkout-kit/ui / CopyButton

Variable: CopyButton ​

ts
const CopyButton: ({ value, children, copiedLabel, resetAfterMs, onCopied, variant, size, fullWidth, ...props }) => ReactElement;

Copies a value. The label confirms it, so the change is announced and not just drawn.

Parameters ​

ParameterType
{ value, children, copiedLabel, resetAfterMs, onCopied, variant, size, fullWidth, ...props }CopyButtonProps

Returns ​

ReactElement

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