You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Search component supports custom renderer for the category name and result items but not for the category layout.
For example, instead of having a two columns layout (with category on the left and results on the right), I would like to be able have a simple list with a header by category:
Proposed solution
Search can receive a new prop "categoryLayoutRenderer", which is passed down to SearchCategory. The default value of this props is the current category layout.
The prop categoryLayoutRenderer, is a function that receive the rendered category name and rendered results items.
Exemple:
MVP
We opened a PR to show the POC of how it can be done: #3672
The text was updated successfully, but these errors were encountered:
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
Feature Request
Problem description
Currently the Search component supports custom renderer for the category name and result items but not for the category layout.
For example, instead of having a two columns layout (with category on the left and results on the right), I would like to be able have a simple list with a header by category:
Proposed solution
Search can receive a new prop "categoryLayoutRenderer", which is passed down to SearchCategory. The default value of this props is the current category layout.
The prop categoryLayoutRenderer, is a function that receive the rendered category name and rendered results items.
Exemple:
MVP
We opened a PR to show the POC of how it can be done: #3672
The text was updated successfully, but these errors were encountered: