big-design
big-design copied to clipboard
Input has a `width` prop
Input
accepts a width
prop (via React.InputHTMLAttributes<HTMLInputElement>
), that is not actually used (width is set as 100%). We either need to fix this type OR actually allow a width prop to the input, which seems convenient to me. We should do this as well for selects.
Wanted to open this for discussion.
Thanks for reporting this!! Good catch! I think we should fix the type? I think would be good to let the input component follow its parent width?
I'm good with that