useQueryRules hook provides the logic to build a custom component that displays custom data returned by Algolia query rules.
Import
Parameters
Filters to track for generating automatic rule contexts.
Function to transform the rule contexts.
Function to transform the custom data items.
Returns
The custom data items returned by query rules.