UNPKG

@openoleg/mui

Version:

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

12 lines 594 B
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime"; import Box from '@mui/material/Box/index.js'; import Divider from '@mui/material/Divider/index.js'; import Typography from '@mui/material/Typography/index.js'; /** The `TitleField` is the template to use to render the title of a field * * @param props - The `TitleFieldProps` for this component */ export default function TitleField({ id, title, }) { return (_jsxs(Box, { id: id, mb: 1, mt: 1, children: [_jsx(Typography, { variant: 'h5', children: title }), _jsx(Divider, {})] })); } //# sourceMappingURL=TitleField.js.map