Home > @findkit/ui > useGroups

useGroups variable

Read or update the search groups

Signature:

useGroups: () => readonly [import("../search-engine").GroupDefinitionWithDefaults[], <T extends GroupDefinition<SearchParams>[]>(groupsOrFn: UpdateGroupsArgument<T>) => void]