react-simple-copy
v0.0.1
Published
This component is used to copy text to clipboard
Downloads
1
Readme
react-simple-copy
This component is used to copy text to clipboard
demo
https://abelce.github.io/react-simple-copy/
Installation and usage
Install
npm install -S react-simple-copy
Then use it in your app:
import React from 'react';
import Copy from 'react-simple-copy';
class App extends React.Component {
render() {
return (
<Copy/>
);
}
}
Props
- defaultValue
- value
- onCopy
- onChange
License
MIT License
Keywords
react copy clipboard