@shopgate/pwa-common-commerce
Version:
Commerce library for the Shopgate Connect PWA.
5 lines • 423 B
JavaScript
import{REQUEST_SEARCH_SUGGESTIONS}from"../constants";/**
* Creates the dispatched REQUEST_SEARCH_SUGGESTIONS action object.
* @param {string} searchPhrase The search phrase.
* @return {Object} The REQUEST_SEARCH_SUGGESTIONS action.
*/var requestSearchSuggestions=function requestSearchSuggestions(searchPhrase){return{type:REQUEST_SEARCH_SUGGESTIONS,searchPhrase:searchPhrase};};export default requestSearchSuggestions;