Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simple-react-clipboard

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-react-clipboard - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

2

package.json
{
"name": "simple-react-clipboard",
"version": "1.0.4",
"version": "1.0.5",
"description": "A simple and flexible React utility component for copying texts to the clipboard.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

# Simple React Clipboard
A simple and flexible React utility component for copying texts to the clipboard.
A simple and flexible React utility component for copying texts to the clipboard. Some code is based on [clipboard.js](https://github.com/zenorocha/clipboard.js).
## Getting Started
```
npm i simple-react-clipboard
```

@@ -35,4 +38,4 @@ The component passed in the `render` prop will have the `copy` function passed in as a prop.

`props` | `object` | `props` to pass to the component in `render` | N
`onSuccess` | `function` | Function called after when `copy` succeeds. | N
`onError` | `function` | Function called after `copy` fails. | N
`onSuccess` | `function` | Function called when `copy` succeeds. | N
`onError` | `function` | Function called when `copy` fails. | N

@@ -39,0 +42,0 @@ ## To Run this Repository

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc