react-simple-copy

0.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i react-simple-copy

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

297 kB

Total Files

17

Last publish

Collaborators

  • abelce