@orangecheck/design / CopyButtonProps
Interface: CopyButtonProps
Defined in: primitives/copy-button.tsx:8
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="property-classname"></a> className? | string | - | primitives/copy-button.tsx:19 |
<a id="property-clearafter"></a> clearAfter? | number | Auto-wipe the clipboard after N seconds if it still holds value (secrets-manager behaviour, à la 1Password). 0/undefined = never wipe. | primitives/copy-button.tsx:17 |
<a id="property-label"></a> label? | string | Optional visible label beside the icon. | primitives/copy-button.tsx:12 |
<a id="property-oncopied"></a> onCopied? | () => void | - | primitives/copy-button.tsx:21 |
<a id="property-size"></a> size? | "sm" | "md" | - | primitives/copy-button.tsx:18 |
<a id="property-title"></a> title? | string | - | primitives/copy-button.tsx:20 |
<a id="property-value"></a> value | string | Text to copy. | primitives/copy-button.tsx:10 |