A handy way to copy anything to clipboard!! 🖌🎨🖌🎨
A handy way to copy anything to clipboard. Screenshots below!!
These screenshots are from React-Instagram-clone-2.0!!
npm
or Yarn
.#npm
npm install handy-copy
#or with yarn
yarn add handy-copy
import Copy from 'handy-copy'
Copy({
value: "I will be copied!", // What you want to copy
done: () => { // Callback function
console.log('Link Copied!!')
}
})
Copy(options:Object)
options = {
value,
done
}
Thanks for reading!!