Copies the content in text format of a reference.
Last updated 2 years ago
import { useCopy } from "@atomico/hooks/use-copy";
const copy:()=>void = useCopy(ref);
Where:
ref : Node reference to copy
ref
copy: Callback, executes the content copy event.
copy