@canard/schema-form
Version:
React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components
9 lines (8 loc) • 453 B
TypeScript
import { type PropsWithChildren } from 'react';
import type { FormProps } from '../../components/Form';
interface UserDefinedContextProviderProps {
/** User-defined context, merged with global user-defined context */
context: FormProps['context'];
}
export declare const UserDefinedContextProvider: ({ context: inputContext, children, }: PropsWithChildren<UserDefinedContextProviderProps>) => import("react/jsx-runtime").JSX.Element;
export {};