1.0.1 • Published 2 years ago

handy-copy-to-clipboard v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Handy-Copy

The way to copy anything to clipboard

Quick links

  1. Usage

Usage with npm or Yarn

  1. First install the package with npm or Yarn.
#npm 
npm install handy-copy-to-clipboard

#or with yarn
yarn add handy-copy-to-clipboard
  1. And here comes the fun part.
import Copy from 'handy-copy-to-clipboard'
Copy({
    value: 'What you want to copy',
    done: () => {    
        console.log('Callback function called')
    }
})

Thanks for reading!!