UNPKG

@schema-render/core-react

Version:

Through a set of simple JSON Schema, efficiently build a set of forms.

14 lines (13 loc) 559 B
import type { IObjectAny, IPath } from '../typings/common'; export declare function performStatement({ statement, parentValue, rootValue, userCtx, }: { statement: boolean | string | undefined; parentValue: IObjectAny | undefined; rootValue: IObjectAny | undefined; userCtx: IObjectAny | undefined; }): boolean; export declare function performStatementWithPath({ statement, path, rootValue, userCtx, }: { statement: boolean | string | undefined; path: IPath; rootValue: IObjectAny; userCtx: IObjectAny | undefined; }): boolean;