Installation
Usage
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| hasCopied | boolean | — | True for timeout ms after a successful copy. |
| copy | (text: string) => void | — | Copy text to clipboard. |
| reset | () => void | — | Reset hasCopied to false. |
| Prop | Type | Default | Description |
|---|---|---|---|
| hasCopied | boolean | — | True for timeout ms after a successful copy. |
| copy | (text: string) => void | — | Copy text to clipboard. |
| reset | () => void | — | Reset hasCopied to false. |