# react-native-pasteboard

> Copy text to clipboard

Latest version **1.3.0** (published 2015-08-17) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-pasteboard
pnpm add react-native-pasteboard
yarn add react-native-pasteboard
bun add react-native-pasteboard
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2015-08-17 |
| First published | 2015-08-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Yamill Vallecillo |
| Maintainers | yamill |
| Keywords | react-component, react-native, ios, clipboard |

## Links

- npm: https://www.npmjs.com/package/react-native-pasteboard
- Repository: https://github.com/yamill/react-native-pasteboard
- Homepage: https://github.com/yamill/react-native-pasteboard#readme
- Issues: https://github.com/yamill/react-native-pasteboard/issues
- npm.io page: https://npm.io/package/react-native-pasteboard

## Recent versions

- 1.3.0 (latest) — 2015-08-17
- 1.2.0 — 2015-08-10
- 1.0.0 — 2015-08-06

## README

## react-native-pasteboard
Copy text to your clipboard

### Add it to your project

1. Run `npm install react-native-pasteboard --save`
2. Open your project in XCode, right click on your project and click `Add Files to "Your Project Name"`
3. Add `RCTPasteBoard` from your `node_modules/react-native-orientation` folder.
4. Whenever you want to use it within React Native code now you can:
`var PasteBoard = require('react-native-pasteboard');`


## Usage

```javascript
PasteBoard.copyText('Hello world!' , (callback) => {
  AlertIOS.alert('Alert', 'Link copied to clipboard!');
});
```

## Functions

`copyText(input, callback)`

Callback is required.

---
_Source: https://npm.io/package/react-native-pasteboard · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
