I have an image(code snippet) as shown below in my application and i need to add copy to clipboard functionality to allow the user to copy the code snippet and use it. Currently i'm using react-copy-to-clipboard package for it. Is there any better package/approach available? Or can we achieve this using material UI?
code
1.4m articles
1.4m replys
5 comments
56.9k users