ui
ui copied to clipboard
Abstract the search bar from the Marketplace
trafficstars
Abstract the Marketplace's search bar into the UI as some new components:
- Extract the SearchBar into a new component.
- Extract the SelectedFilters component with it's clear button. This component should be loadable with an array options, containing values and an onClick function and a set of values, signaling the selected options.
Things to consider:
- Do not extract the map buttons or logic.
- The idea of extracting the components separately is to be able to eventually build the navigation bar for each of the assets individually in the dApps.