# @types/simple-react-clipboard

> TypeScript definitions for simple-react-clipboard

Latest version **1.0.3** (published 2023-12-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/simple-react-clipboard
pnpm add @types/simple-react-clipboard
yarn add @types/simple-react-clipboard
bun add @types/simple-react-clipboard
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-12-15 |
| First published | 2023-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51387 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/simple-react-clipboard
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-react-clipboard
- npm.io page: https://npm.io/package/@types/simple-react-clipboard

## Dependencies (1)

- [@types/react](https://npm.io/package/@types/react.md) *

## Recent versions

- 1.0.3 (latest) — 2023-12-15
- 1.0.1 (ts4.5) — 2023-11-22
- 1.0.2 — 2023-11-28
- 1.0.0 — 2023-11-11

## README

# Installation
> `npm install --save @types/simple-react-clipboard`

# Summary
This package contains type definitions for simple-react-clipboard (https://github.com/donfour/simple-react-clipboard#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-react-clipboard.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/simple-react-clipboard/index.d.ts)
````ts
import { JSX, ReactNode } from "react";

interface ClipboardProps {
    render: (arg0: { copy: () => void }) => ReactNode;
    text: string;
    props?: object | undefined;
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    onSuccess?: () => void | undefined;
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    onError?: () => void | undefined;
}

declare function Clipboard({
    render,
    text,
    props,
    onSuccess,
    onError,
}: ClipboardProps): JSX.Element;

export default Clipboard;

````

### Additional Details
 * Last updated: Fri, 15 Dec 2023 19:06:42 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Huy Tran](https://github.com/huytranvn).

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