@project44-manifest/react
Version:
Manifest Design System react components
5 lines • 331 B
TypeScript
import { Collection, Node } from '@react-types/shared';
declare type FilterFn = (textValue: string, inputValue: string) => boolean;
export declare function filterCollection<T extends object>(collection: Collection<Node<T>>, inputValue: string, filter: FilterFn): Collection<Node<T>>;
export {};
//# sourceMappingURL=filter.d.ts.map