UNPKG

react-querybuilder

Version:

React Query Builder component for constructing queries and filters, with utilities for executing them in various database and evaluation contexts

8 lines (7 loc) 369 B
import type { QueryValidator } from "../types/index.noReact.mjs"; /** * This is an example validation function you can pass to {@link QueryBuilder} in the * `validator` prop. It assumes that you want to validate groups, and has a no-op * for validating rules which you can replace with your own implementation. */ export declare const defaultValidator: QueryValidator;