ClipboardButton
ClipboardButton(
props):Element
A ClipboardButton copies text to the clipboard. It can be used to copy any text value, e.g. a code snippet, a URL, or any arbitrary text.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
props | ClipboardButtonProps |
Returns
Section titled “Returns”Element
Example
Section titled “Example”import { ClipboardButton } from "@netlify/sdk/ui/react/components";
<ClipboardButton value="https://example.com" />