@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
28 lines • 863 B
JavaScript
export const CopyOnClickProperties = {
showCursor: {
doc: 'Define if the copy cursor should be visible. Defaults to `true`.',
type: 'boolean',
status: 'optional'
},
disabled: {
doc: 'If `true`, the copy functionality and copy cursor will be omitted. Defaults to `false`.',
type: 'boolean',
status: 'optional'
},
copyContent: {
doc: 'Contents to copy. Used when the copied value should differ from the visually shown value(`children`).',
type: 'React.Node',
status: 'optional'
},
tooltipContent: {
doc: 'The message shown in the tooltip when the content is copied. Defaults to the translation `CopyOnClick.clipboard_copy`.',
type: 'React.Node',
status: 'optional'
},
children: {
doc: 'Contents.',
type: 'React.Node',
status: 'required'
}
};
//# sourceMappingURL=CopyOnClickDocs.js.map