snippyjs
v1.0.4
Published
An npm package for copy, paste functions so you do not have to create all the logic your self
Readme
Snippyjs
A simple npm library for copy/paste functions
features
1.There is a copy function 2.There is a paste function
installation
npm i snippyjsHow to implement snippyjs
import { Copy } from 'snippyjs'
export const App = async () => {
return(
<button onclick={await Copy("Hi")}>Click me</button>
)
}