@expofp/floorplan
Version:
Interactive floor plan library for expos and events
9 lines • 531 B
TypeScript
import type { FilterGroup } from '../store/types.js';
/**
* Narrows filter groups to a text query. A group survives either because its own name
* matches — `CategoryFilterModal` splits `"Food/Beverages"` into the group `Food` plus
* the item `Beverages`, so matching items alone would never find `"food"` — or because
* some of its items match, in which case only those items remain.
*/
export declare const filterGroups: (groups: FilterGroup[], query: string) => FilterGroup[];
//# sourceMappingURL=filter-groups.d.ts.map