clipboardText
string
""
tooltipText
string
"Copy to clipboard"
icon
IconName
"FeatherClipboard"
onCopy
() => void
Use clipboardText
prop for the text that is copied on click, tooltipText
for the tooltip copy.
View code
Use onCopy
prop to show feedback to user after copying.
View code