TextInput component : add more prope
shubhamkakkar opened this issue · comments
It's not always that a user wants to have a rounded TextInput component, this could hence be updated for user code flexibility
( es6)
: default, no styling
: bordered TextInput
and others like rounded and also custom styling liberty to user
Hi @shubhamkakkar,
I will soon do a review over the input components and let you know when a change is made.
Hi @shubhamkakkar,
I updated all Form Input Atoms to allow custom styles. To use it, you will need to first include the noStyle
boolean prop, then include a style object for the following props;
style
: the style of form Input in the inactive state
activeStyle
: the style of form Input in the active state
errorStyle
: the style of form Input when a validation error occurs.