0.0.3 • Published 1 year ago

@acrool/react-auto-height-textarea v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Acrool React Auto Height Textarea

NPM npm npm

npm downloads npm

Features

  • Auto-height Textarea element.

Install

yarn add @acrool/react-auto-height-textarea

Usage

add in your index.tsx

import "@acrool/react-auto-height-textarea/dist/index.css";

add in your App.tsx

import AutoHeightTextarea from '@acrool/react-auto-height-textarea';

const Example = () => {
    const [value, setValue] = useState('');
    
    return <Comment
        value={editValue}
        onChange={e => setEditValue(e.target.value)}
        placeholder="Type your message"
        rows={1}
    />;
}

License

MIT © Acrool & Imagine

0.0.3

1 year ago

0.0.2

1 year ago

0.0.2-alpha.6

1 year ago

0.0.2-alpha.5

1 year ago

0.0.2-alpha.4

1 year ago

0.0.2-alpha.3

1 year ago

0.0.2-alpha.2

1 year ago

0.0.2-alpha.1

1 year ago

0.0.2-alpha.0

1 year ago