material-ui -> mui-material migration.

This commit is contained in:
Robin Davies
2022-02-15 15:59:58 -05:00
parent dd4d883b0b
commit ac51296782
19 changed files with 969 additions and 1423 deletions
+3 -3
View File
@@ -525,7 +525,7 @@ const PluginControl =
if (control.isOnOffSwitch()) {
// normal gray unchecked state.
return (
<Switch checked={value !== 0}
<Switch checked={value !== 0} color="secondary"
onChange={(event) => {
this.onCheckChanged(event.target.checked);
}}
@@ -535,7 +535,7 @@ const PluginControl =
if (control.isAbToggle()) {
// unchecked color is not gray.
return (
<Switch checked={value !== 0}
<Switch checked={value !== 0} color="secondary"
onChange={(event) => {
this.onCheckChanged(event.target.checked);
}}
@@ -547,7 +547,7 @@ const PluginControl =
);
} else {
return (
<Select
<Select variant="standard"
ref={this.selectRef}
value={control.clampSelectValue(value)}
onChange={this.onSelectChanged}