use-copy
Copies the content in text format of a reference.
Module
import { useCopy } from "@atomico/hooks/use-copy";Syntax
const copy:()=>void = useCopy(ref);Where:
ref: Node reference to copycopy: Callback, executes the content copy event.
Example
Last updated
Was this helpful?
