@coveo/headless-react
    Preparing search index...

    Interface SearchHubActionCreators

    The search hub action creators.

    interface SearchHubActionCreators {
        setSearchHub(searchHub: string): { payload: string; type: string };
    }
    Index

    Methods

    Methods

    • Sets the search hub.

      Parameters

      • searchHub: string

        The new search hub (may be empty).

      Returns { payload: string; type: string }

      A dispatchable action.