Properties
| Property | Type | Description |
|---|---|---|
showCursor | boolean | (optional) Define if the copy cursor should be visible. Defaults to true. |
disabled | boolean | (optional) If true, the copy functionality and copy cursor will be omitted. Defaults to false. |
copyContent | React.Node | (optional) Contents to copy. Used when the copied value should differ from the visually shown value(children). |
tooltipContent | React.Node | (optional) The message shown in the tooltip when the content is copied. Defaults to the translation CopyOnClick.clipboard_copy. |
children | React.Node | (required) Contents. |
Translations
More info about translations can be found in the general localization and Eufemia Forms localization docs.
| Key | nb-NO | en-GB | sv-SE | da-DK |
|---|---|---|---|---|
CopyOnClick.clipboard_copy | Kopiert | Copied | Kopierad | Kopieret |