UNPKG

@studio-lumio/hooks

Version:

a compilation of react hooks we use to make our magic

5 lines (4 loc) 189 B
type CopiedValue = string | null; type CopyFn = (text: string, callback: () => any) => Promise<boolean>; export declare function useCopyToClipboard(): [CopiedValue, CopyFn]; export {};