1.0.3 • Published 4 years ago
copy-clipboard-js v1.0.3
react.js-copy-clipboard
Directly copy any string to clipboard in react.js with this module
See in CodeSandbox
In react.js :
...
import * as CCJ from "copy-clipboard-js";
...
CCJ.copyText("something to copy");//place it somewhere,anywhere,everywhere
...
Available on npm
Just add in your package.josn