UNPKG

@rjsf/core

Version:

A simple React component capable of building HTML forms out of a JSON schema.

9 lines 595 B
import { FieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; /** The `BooleanField` component is used to render a field in the schema is boolean. It constructs `enumOptions` for the * two boolean values based on the various alternatives in the schema. * * @param props - The `FieldProps` for this template */ declare function BooleanField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldProps<T, S, F>): import("react/jsx-runtime").JSX.Element; export default BooleanField; //# sourceMappingURL=BooleanField.d.ts.map