1.1.3 • Published 6 years ago
resizable-textfield v1.1.3
resizable-textfield
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.