# @types/react-input-autosize

> TypeScript definitions for react-input-autosize

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

## Install

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

## 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.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.2.4 |
| Published | 2023-11-07 |
| First published | 2018-07-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

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

## Dependencies (1)

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

## Recent versions

- 2.2.4 (latest) — 2023-11-07
- 2.2.1 (ts3.6) — 2021-07-07
- 2.2.0 (ts3.0) — 2020-07-20
- 2.0.2 (ts2.8) — 2020-02-25
- 1.2.0 (ts2.7) — 2018-07-26
- 2.2.3 — 2023-10-18
- 2.2.2 — 2023-09-27
- 2.0.1 — 2019-05-24
- 2.0.0 — 2018-08-25
- 1.2.1 — 2018-08-06

## README

# Installation
> `npm install --save @types/react-input-autosize`

# Summary
This package contains type definitions for react-input-autosize (https://github.com/JedWatson/react-input-autosize#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-input-autosize.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-input-autosize/index.d.ts)
````ts
import * as React from "react";

export interface AutosizeInputProps
    extends React.InputHTMLAttributes<HTMLInputElement>, React.ClassAttributes<HTMLInputElement>
{
    inputClassName?: string | undefined;
    inputRef?: ((instance: HTMLInputElement | null) => void) | undefined;
    inputStyle?: React.CSSProperties | undefined;
    minWidth?: string | number | undefined;
    onAutosize?: ((inputWidth: string | number) => void) | undefined;
    placeholderIsMinWidth?: boolean | undefined;
    extraWidth?: string | number | undefined;
    injectStyles?: boolean | undefined;
}

declare class AutosizeInput extends React.Component<AutosizeInputProps> {
    copyInputStyles(): void;
    getInput(): HTMLInputElement;
}

export default AutosizeInput;

````

### 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 [Jason Unger](https://github.com/jsonunger), and [Frank Li](https://github.com/franklixuefei).

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