UNPKG

@visma/rjsf-material-ui

Version:

Material UI theme, fields and widgets for react-jsonschema-form

19 lines (18 loc) 725 B
import React from "react"; import { UiSchema } from '@visma/rjsf-core'; import { JSONSchema7 } from "json-schema"; declare type WrapIfAdditionalProps = { children: React.ReactElement; classNames: string; disabled: boolean; id: string; label: string; onDropPropertyClick: (index: string) => (event?: any) => void; onKeyChange: (index: string) => (event?: any) => void; readonly: boolean; required: boolean; schema: JSONSchema7; uiSchema: UiSchema; }; declare const WrapIfAdditional: ({ children, disabled, id, label, uiSchema, onDropPropertyClick, onKeyChange, readonly, required, schema, }: WrapIfAdditionalProps) => JSX.Element; export default WrapIfAdditional;