UNPKG

@storm-stack/hooks

Version:

A collection of React hooks used by Storm Software in various client libraries and applications.

7 lines (6 loc) 236 B
/** * Copies a value to the clipboard * * @returns A tuple with the copied value and a function to copy a value to the clipboard */ export declare function useCopyToClipboard(): (string | ((value: string | null) => void) | null)[];