@nicefont/react-auto-textarea
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

React Auto Textarea

contributions welcome

A simple React component that resizes the textarea element, based on the amount of line breaks inside the provided value.

How to Install

npm install @nicefont/react-auto-textarea

yarn add @nicefont/react-auto-textarea

How to use

This Component works just like the default textarea.

import AutoTextarea from '@nicefont/react-auto-textarea'

const MyComponent = () => {

    return (
        <AutoTextarea></AutoTextarea>
    )
}

Contributing

Contributions are welcome, just open a new pull request.

Readme

Keywords

none

Package Sidebar

Install

npm i @nicefont/react-auto-textarea

Weekly Downloads

7

Version

1.0.5

License

MIT

Unpacked Size

19.6 kB

Total Files

23

Last publish

Collaborators

  • nicefont