MCPcopy
hub / github.com/guilhermerodz/input-otp / CopyButtonProps

Interface CopyButtonProps

apps/website/src/components/copy-button.tsx:17–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15} from './ui/dropdown-menu'
16
17interface CopyButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
18 value: string
19 src?: string
20}
21
22export async function copyToClipboardWithMeta(value: string) {
23 window && window.isSecureContext && navigator.clipboard.writeText(value)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…