@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
| Parameter | Type |
|---|---|
{ value, children, copiedLabel, resetAfterMs, onCopied, variant, size, fullWidth, ...props } | CopyButtonProps |
Returns
ReactElement