Package detail

flexible-input

streamich1481.0.3

Flexible input and textarea elements which expand and shrink as you type.

flexible, input, textarea, resizable

readme

Flexible <input> and <textarea> elements

This package implements flexible <input> and <textarea> which expand and shrink to fit the content.

Usage

Installation:

npm install flexible-input

Usage:

import {FlexibleInput} from 'flexible-input';

<FlexibleInput
  value={value}
  onChange={onChange}
  typeahead={'...'}
/>

Preview

See demo.