DEV Community

Discussion on: Copy text to the clipboard with JavaScript in 10 lines of code

Collapse
 
_akshaym profile image
Akshay Mahajan

I built a reusable React component using the same method. You can check it out at npmjs.com/package/react-copy-content