@openoleg/mui
Version:
Material UI 7 theme, fields and widgets for react-jsonschema-form
12 lines • 615 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import Grid from '@mui/material/Grid/index.js';
/** Renders a `GridTemplate` for mui, which is expecting the column sizing information coming in via the
* extra props provided by the caller, which are spread directly on the `Grid`.
*
* @param props - The GridTemplateProps, including the extra props containing the mui grid positioning details
*/
export default function GridTemplate(props) {
const { children, column, ...rest } = props;
return (_jsx(Grid, { container: !column, ...rest, children: children }));
}
//# sourceMappingURL=GridTemplate.js.map