We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The default icon size in the input should be 16px, it's instead 12px.
The problem is that the icon in the Search component (that inherits from Input) is 12px, and the icon size is not configurable.
Allow to pass a ReactElement to the iconBefore and iconAfter prop, allowing to specify the size and the color for the icon.
iconBefore
iconAfter
-<Input iconBefore={PiMagnifyingGlass} /> +<Input iconBefore={<Icon component={PiMagnifyingGlass} size={12}/>} />
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The default icon size in the input should be 16px, it's instead 12px.
The problem is that the icon in the Search component (that inherits from Input) is 12px, and the icon size is not configurable.
Porposed solution:
Allow to pass a ReactElement to the
iconBefore
andiconAfter
prop, allowing to specify the size and the color for the icon.The text was updated successfully, but these errors were encountered: