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 usePreviewSearch
hook returns the data and functionality to provides a way to perform preview search.
Note: To make the hook available, the SDK needs the component to be registered. This can be made using the widget
function.
Where the first parameter for widget is the component itself, the second one a constant that indicates the widget type and the last one is the entity type. In this case the widget type constant is getting from WidgetDataType.PREVIEW_SEARCH
.