# @types/react-file-input

> TypeScript definitions for react-file-input

Latest version **0.0.13** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-file-input
pnpm add @types/react-file-input
yarn add @types/react-file-input
bun add @types/react-file-input
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.0.13 |
| Published | 2023-11-07 |
| First published | 2016-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.0.13 (latest) — 2023-11-07
- 0.0.10 (ts3.6) — 2021-07-08
- 0.0.9 (ts2.8) — 2018-08-04
- 0.0.8 (ts2.6) — 2018-02-12
- 0.0.7 (ts2.3) — 2017-06-23
- 0.0.6 (ts2.1) — 2017-01-23
- 0.0.5 (ts2.0) — 2016-11-21
- 0.0.12 — 2023-10-18
- 0.0.11 — 2023-09-27
- 0.0.4 — 2016-09-19
- 0.0.3 — 2016-08-25
- 0.0.2 — 2016-08-19
- 0.0.1 — 2016-08-02

## README

# Installation
> `npm install --save @types/react-file-input`

# Summary
This package contains type definitions for react-file-input (https://www.npmjs.com/package/react-file-input).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-file-input.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-file-input/index.d.ts)
````ts
/// <reference types="react" />

declare module "react-file-input" {
    interface FileInputProps {
        name: string;
        className: string;
        accept: string;
        placeholder: string;
        disabled?: boolean | undefined;
        onChange: (event: React.SyntheticEvent<any>) => void;
    }

    class FileInput extends React.Component<FileInputProps> {
    }

    export = FileInput;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react)

# Credits
These definitions were written by [Dmitry Rogozhny](https://github.com/dmitryrogozhny).

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