dotkom / design-system

Component library, maybe
https://design.online.ntnu.no
MIT License
4 stars 4 forks source link

Add general input field (seems like a duplicate) #11

Closed niklasmh closed 5 years ago

niklasmh commented 5 years ago

This will be the third PR featuring an input field... Not sure why the other PRs did not finish, but here is a complete solution matching the use cases on Figma: image It is a pretty basic implementation which does not change the behavior of an input text field. I did only hijack the onChange for the error handling, but it does not affect the actual usage of the input field onChange prop.