This component inherits the props from the Chip. View source
How it works
Copy Chip automatically copies its text contents into clipboard and displays a status tooltip.
Examples
With an obfuscated value
If you need to copy a value that’s different from what’s displayed in the chip, you can call event.preventDefault() in the onClick handler and copy the value manually. This may be helpful when dealing with secret keys that need to be obfuscated.