UNPKG

@aokiapp/rjsf-mantine-theme

Version:

Mantine theme, fields and widgets for react-jsonschema-form

14 lines (13 loc) 715 B
import { FieldProps, FormContextType, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils'; /** The `NullField` component is used to render a field in the schema is null. It also ensures that the `formData` is * also set to null if it has no value. * * Differences from the original: * - Traverse the widget and use it * - By default, use `NullWidget`, which is not present in the original * - Hence, null fields can be replaced with custom ones * * @param props - The `FieldProps` for this template */ declare function NullField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: FieldProps<T, S, F>): import("react/jsx-runtime").JSX.Element; export default NullField;