You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some design's I've been working with show a password field with an eye Icon that's easy enough to input. However, those icons aren't very useful if the Icon can't have a click handler to correspond to it
Describe the solution you'd like
Either allow for TSX/JSX element to be accepted by the icon parameters of Input, or allow an iconOnClick method that gets passed down to the icon that's passed in.
Describe alternatives you've considered
Getting rid of icons from all input fields?
The text was updated successfully, but these errors were encountered:
Some design's I've been working with show a password field with an
eye
Icon that's easy enough to input. However, those icons aren't very useful if the Icon can't have a click handler to correspond to itDescribe the solution you'd like
Either allow for TSX/JSX element to be accepted by the
icon
parameters ofInput
, or allow aniconOnClick
method that gets passed down to the icon that's passed in.Describe alternatives you've considered
Getting rid of icons from all input fields?
The text was updated successfully, but these errors were encountered: