How to set up instant search and search by button at the same time?

I use algolia search in my gatsby project. I set up a search in the documentation https://www.gatsbyjs.com/docs/adding-search-with-algolia/
This documentation uses instant search. I have not found examples where instant search and button search are used at the same time. Instant search should open in a drop-down window (I did it) and search by button should show results elsewhere, for example, in the block below the search. My search for the button is not working correctly. Can you please tell me if there are some examples where instant search and search by button are implemented simultaneously?

Do you mean you want to disable searchAsYouType? SearchBox | React InstantSearch | API parameters | API Reference | Algolia Documentation