@rjsf/mui
Version:
Material UI 7 theme, fields and widgets for react-jsonschema-form
15 lines (14 loc) • 967 B
TypeScript
import { BoxProps } from '@mui/material/Box';
import { FormControlProps } from '@mui/material/FormControl';
import { FormContextType, GenericObjectType, MultiSchemaFieldTemplateProps, RJSFSchema, StrictRJSFSchema } from '@rjsf/utils';
/** Properties available for the `rjsfSlotProps` target of the MultiSchemaFieldTemplate. */
export interface MultiSchemaFieldTemplateMuiProps extends GenericObjectType {
/** RJSF-specific slot props for targeting child elements of the MultiSchemaFieldTemplate. */
rjsfSlotProps?: {
/** Props applied to the wrapper `Box` container. */
multiBox?: BoxProps;
/** Props applied to the MUI `FormControl` wrapping the selector. */
multiFormControl?: FormControlProps;
};
}
export default function MultiSchemaFieldTemplate<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends FormContextType = any>(props: MultiSchemaFieldTemplateProps<T, S, F>): import("react/jsx-runtime").JSX.Element;