react-textarea-autosize
- Version 8.5.4
- Published
- 57.2 kB
- 3 dependencies
- MIT license
Install
npm i react-textarea-autosize
yarn add react-textarea-autosize
pnpm add react-textarea-autosize
Overview
textarea component for React which grows with content
Index
Variables
Interfaces
Type Aliases
Variables
variable _default
const _default: React.ForwardRefExoticComponent<any>;
Interfaces
interface TextareaAutosizeProps
interface TextareaAutosizeProps extends Omit<TextareaProps, 'style'> {}
property cacheMeasurements
cacheMeasurements?: boolean;
property maxRows
maxRows?: number;
property minRows
minRows?: number;
property onHeightChange
onHeightChange?: (height: number, meta: TextareaHeightChangeMeta) => void;
property style
style?: Style;
Type Aliases
type TextareaHeightChangeMeta
type TextareaHeightChangeMeta = { rowHeight: number;};
Package Files (2)
Dependencies (3)
Dev Dependencies (33)
- @babel/core
- @babel/plugin-proposal-object-rest-spread
- @babel/plugin-transform-runtime
- @babel/preset-env
- @babel/preset-react
- @babel/preset-typescript
- @changesets/changelog-github
- @changesets/cli
- @preconstruct/cli
- @testing-library/jest-dom
- @testing-library/react
- @types/react
- @types/react-dom
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- babel-eslint
- bytes
- cross-env
- eslint
- eslint-config-prettier
- eslint-plugin-prettier
- eslint-plugin-react
- husky
- jest
- jest-environment-jsdom
- lint-staged
- parcel
- prettier
- react
- react-dom
- rimraf
- terser
- typescript
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/react-textarea-autosize
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/react-textarea-autosize)
- HTML<a href="https://www.jsdocs.io/package/react-textarea-autosize"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2623 ms. - Missing or incorrect documentation? Open an issue for this package.