Sorry, but you either have no stories or none are selected somehow.
If the problem persists, check the browser console, or the terminal you've run Storybook from.
The useSearchResultsSelectedFacets
is a helper hook used in complement of useSearchResults
who returns a list of facets selected in a Search Result Widget.
It uses the value selectedFacets
provided in useSearchResults
hook to extend the list of facets selected with more information needed to render in a component.
The following example shows how to use the useSearchResultsSelectedFacets
within a React
component. Remember that
this hook is a complement from useSearchResults
, so the component must be associated to that type of widget.