UNPKG

slate-devtools

Version:

`slate-devtools` as name suggests it is devtool for [slatejs](https://github.com/ianstormtaylor/slate) which will assist you in debugging the code

7 lines 292 B
import React from "react"; /** * Returns a onClick function which when called will copy the given * data to clipboard */ export declare const copyOnClick: <T extends HTMLElement>(data: string) => (e: React.MouseEvent<T, MouseEvent>) => void; //# sourceMappingURL=copyOnClick.d.ts.map