React Storefront |

SearchPopup

Import
import SearchPopup from 'react-storefront/SearchPopup'

Props

NameTypeDefaultDescription
searchPopupshape :

searchPopup holds state of popup

searchshape :

search contains lists of suggestions

suggestionResultsLimitnumber3

limit for suggestion results list

childrenunion : arrayOf |
node

Suggestion results components

historyshape :

CSS API

You can override all the class names injected by Moov-PWA thanks to the classes property. This property accepts the following keys:

  • searchPopup
  • closeButton
  • searchForm
  • searchReset
  • flexInput
  • searchButton
  • suggestionHeader
  • suggestionsList
  • productImage
  • productsSuggestions
  • searchResultsWrapper
  • loading