![A screenshot of the WordPress Gutenberg component "ClipboardButton".](https://wp-gb.com/wp-content/uploads/2021/01/component-ClipboardButton.png)
Copies something to the clipboard.
<ClipboardButton
isPrimary
text="Text to be copied."
onCopy={ () => true }
onFinishCopy={ () => false }
>
Copy
</ClipboardButton>
Copies something to the clipboard.
<ClipboardButton
isPrimary
text="Text to be copied."
onCopy={ () => true }
onFinishCopy={ () => false }
>
Copy
</ClipboardButton>