/react-text-area

this is my implementation of a text area component

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

react-text-area

this is my implementation of a text area component

Criterias

  • if the max rows was not reached, there should always be an empty line at the bottom (component should resize according to line wrapping)
  • line breaks should work on enter
  • word wrapping should not break words
  • component's underline should be highlighted while input is focused
  • component should have a placeholder

Getting Started

  1. make sure you have storybook installed globally by running npm i -g @storybook/cli
  2. run npm install
  3. run npm run storybook
  4. start checking it out 🎉

Future Milestones

  • support external classnames easely
  • support external styles easely
  • support different focus highlight styles via style object and css