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
You want to add a title to a refinement list and want to be able to hide it when there's no refinement to display.
Api:
Having a <Panel/> component accepting a prop title. When the encapsulated widget has no refinement to display, then we will add a class at the panel level.
The <Panel/> could pass to its child a function expecting a boolean. It will be the responsibility of the children to call it when needed, for example, when it is unmounted.
Identified Widgets:
CurrentRefinements
HierarchicalMenu
Menu
RangeInput
RefinementList
StarRating
MultiRange
The text was updated successfully, but these errors were encountered:
Use case:
You want to add a title to a refinement list and want to be able to hide it when there's no refinement to display.
Api:
Having a
<Panel/>
component accepting a proptitle
. When the encapsulated widget has no refinement to display, then we will add a class at the panel level.Usage:
Possible Implementation:
The
<Panel/>
could pass to its child a function expecting a boolean. It will be the responsibility of the children to call it when needed, for example, when it is unmounted.Identified Widgets:
The text was updated successfully, but these errors were encountered: