THIS IS ARCHIVED DOCUMENTATION
SearchHubActions (Deprecated)
SearchHubActions (Deprecated)
In this article
In this article
The search hub action creators.
Loader Function
loadSearchHubActions
Parameters
-
engine:
The headless engine.
Returns SearchHubActionCreators
: The search hub action creators.
SearchHubActionCreators
setSearchHub
Sets the search hub.
Parameters
-
searchHub:
string
The new search hub (may be empty).
Returns PayloadAction<string>
: A dispatchable action.