Upgrade to @material-ui
Upgrade to @material-ui.
This is a slightly bigger update than planned, but the code in the branch is already successfully compiles and runs.
Note: Main issue with migration to new version of material-ui is with embedded styles. When code fails to compile with TS2345: Property ... is missing in type '(theme: any) =>
that means that the const styles = (theme) => {}
contains a CSS property that needs to be cast (e.g. 'display': 'inline-block' as 'inline-block'
). The message is very confusing.
Please checkout the provided branch and resolve the following:
- Checkboxes and Radios do not render when ticked
- Paginator in dashboard is not correctly aligned (
<Hidden
is using a div element, not span as before) - Entry page search button is not aligned correctly