import React, { memo, useContext } from "react"; import { Box } from "@mui/system"; import { inputProps } from "../interface/inputfieldProps"; import ComponentWrapper from "../common/ComponentWrapper"; import { getComponentProps } from "../common/getComponentProps"; import { DataContext } from "../context/Context"; import { getFieldName } from "../permissions/getFieldName"; const EmptyBox = memo(function EmptyBox(props: inputProps) { const { uischema, path, schema, rootSchema } = props; const { pageName, permissions, r } = useContext(DataContext); const fieldName = getFieldName(path); return (
); }); export default EmptyBox;