UNPKG

@mcabreradev/filter

Version:

A powerful, SQL-like array filtering library for TypeScript and JavaScript with advanced pattern matching, MongoDB-style operators, deep object comparison, and zero dependencies

9 lines (8 loc) 367 B
import React, { type ReactNode } from 'react'; import type { FilterContextValue } from './react.types'; export interface FilterProviderProps { children: ReactNode; value?: FilterContextValue; } export declare function FilterProvider({ children, value }: FilterProviderProps): React.JSX.Element; export declare function useFilterContext(): FilterContextValue;