MCPcopy
hub / github.com/github/docs / IOptions

Interface IOptions

components/hooks/useClipboard.ts:3–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { useState, useEffect } from 'react'
2
3interface IOptions {
4 /**
5 * Reset the status after a certain number of milliseconds. This is useful
6 * for showing a temporary success message.
7 */
8 successDuration?: number
9}
10
11export default function useCopyClipboard(
12 text: string,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected