SearchBox: Omit<CoreSearchBox, "submit"> & { submit(): void }

The SearchBox headless controller offers a high-level interface for designing a common search box UI component with highlighting for query suggestions.

Type declaration

  • submit:function
    • Triggers a commerce search query.

      Returns void