Skip to content

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.

2 participants