resizable-textfield

1.1.3 • Public • Published

resizable-textfield

stable licence

A React package that allows you to have a textfield with the length of its text dynamically.

  • Useful to create search fields
  • Lightweight
  • Customizable

Example usage

npm i "resizable-textfield"
import ResizableTexField from "resizable-textfield";

const App = () => {
    return (
        <ResizableTexField placeholder="bar foo" />
    );
};

Important props

  • value (String): Initial value (Optional) *
  • placeholder (String): Placeholder (Optional) *
  • styles (Object): Custom styles (Optional)

(*) At least one of these fields must be passed or an exception will be thrown.

Package Sidebar

Install

npm i resizable-textfield

Weekly Downloads

1

Version

1.1.3

License

ISC

Unpacked Size

11.8 kB

Total Files

5

Last publish

Collaborators

  • rfire12