API Reference / React InstantSearch Hooks / <QueryRulesCustomData>

About this widget

The <QueryRulesCustomData> widget isn’t currently available in React InstantSearch Hooks, but you can make it yourself using useQueryRules().

Refer to the useQueryRules() documentation for a full API reference.

Examples

1
2
3
4
5
6
7
import { useQueryRules } from 'react-instantsearch-hooks-web';

export function QueryRulesCustomData(props) {
  const { items } = useQueryRules(props);

  return <>{/* Your JSX */}</>;
}
Did you find this page helpful?