docs(example): make onSearchParameters more explicit
docs(example): make onSearchParameters more explicit

closes #2928
algolia/react-instantsearch,algolia/react-instantsearch,algolia/react-instantsearch,algolia/react-instantsearch