Skip to content
New issue

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

SearchInput component #15

Open
davidtheclark opened this issue Jul 27, 2018 · 0 comments
Open

SearchInput component #15

davidtheclark opened this issue Jul 27, 2018 · 0 comments

Comments

@davidtheclark
Copy link
Contributor

An input with the following details:

  • Full width by default.
  • Two sizes: small and large.
  • Text-colored search icon on the left.
  • Placeholder is required.
  • Optionally add a button to the right (flushed against the input) that says "Search".
  • Accepts both onChange and onSubmit props. onSubmit will be triggered if you hit the Enter key or click the "Search" button if you have it.

I know this will be a popular component for internal apps.

@davidtheclark davidtheclark changed the title MbxSearchInput component SearchInput component Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants