copyToClipboard.js
A common javascript function that copies to the clipboard for all the platform and browser.
Usage
import copyToClipboard from '@kevinshao0130/copytoclipboard.js'
...
copyToClipboard('string')
Props
text
- Type:
string
- Default:
undefined
License
ISC