diff --git a/src/App.tsx b/src/App.tsx index ddfc34d..fc85286 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,7 +13,7 @@ import { } from '@jsonforms/material-renderers'; import RatingControl from './RatingControl'; import ratingControlTester from './ratingControlTester'; -import { makeStyles } from '@material-ui/core/styles'; +import { createMuiTheme, makeStyles, ThemeProvider } from '@material-ui/core/styles'; const useStyles = makeStyles((_theme) => ({ container: { @@ -41,6 +41,16 @@ const useStyles = makeStyles((_theme) => ({ }, })); +const theme = createMuiTheme({ + overrides: { + MuiFormHelperText: { + root: { + minHeight: '1.6em' + } + } + } +}); + const initialData = { name: 'Send email to Adrian', description: 'Confirm if you have passed the subject\nHereby ...', @@ -105,14 +115,16 @@ const App = () => { Rendered form
- setJsonformsData(data)} - /> + + setJsonformsData(data)} + /> +