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

[DDW-1023] Add Search Icon to Input Component #207

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

shawnbusuttil
Copy link

@shawnbusuttil shawnbusuttil commented Mar 24, 2022

This PR is meant to streamline how we apply search icon within consumers of the library.

What does this mean?

Currently, apps such as Daedalus are getting the search icon used in text fields from two different places: React Polymorph and the Daedalus assets folder itself. This PR adds a hasSearch boolean to existing InputSkin so that when set to true renders a search icon at the start of the text field. Therefore, enabling us to get the icon from Polymorph only, promoting reuse and avoiding chaos when styling/changing opacity.

All changes are strictly for developer use only and are not intended to change anything visual in the UI.

@shawnbusuttil shawnbusuttil self-assigned this Mar 24, 2022
@shawnbusuttil shawnbusuttil changed the title Feature/ddw 1023 streamline search icon [DDW-1023] Add Search Icon to Input Component Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant