The search hub action creators.

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

Methods

Methods

  • Sets the search hub.

    Parameters

    • searchHub: string

      The new search hub (may be empty).

    Returns { payload: string; type: string }

    A dispatchable action.