We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31598da + dd4e6ba commit fb7d832Copy full SHA for fb7d832
packages/mui-component-mapper/src/switch/switch.js
@@ -47,6 +47,7 @@ export const Switch = (props) => {
47
readOnly={isReadOnly}
48
disabled={isDisabled || isReadOnly}
49
onChange={({ target: { checked } }) => input.onChange(checked)}
50
+ {...SwitchProps}
51
/>
52
}
53
label={<FormLabel {...FormLabelProps}>{input.checked ? onText || label : offText || label}</FormLabel>}
0 commit comments