No Preview

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.

useSearchResultsIsSelectedFacet

The useSearchResultsConfig is a helper hook used in complement of useSearchResults who returns the configuration for the current widget.

Return Value

SearchResultsConfig

Importing

import { useSearchResultsConfig } from '@sitecore-search/react';

Usage

useSearchResultsConfig();