0.3.4 • Published 2 years ago

use-clipboard-api v0.3.4

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

build version MIT License downloads


Table of Contents

Motivation

Usage

To start using the use-clipboard-api in your project, first install in your project:

yarn add use-clipboard-api or npm install use-clipboard-api

import useClipboardApi from 'use-clipboard-api';

function App() {
  const [value, copy] = useClipboardApi();

  return (
    <div>
      <button onClick={() => copy('Text to be copied.')}>Copy me!</button>
      <p>Copied value: {value}</p>
    </div>
  );
}

export default App;

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Bugs and Sugestions

Report bugs or do suggestions using the issues.

License

MIT License © helderburato

0.3.4

2 years ago

0.3.3

2 years ago

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago