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.
1 parent 6decd53 commit e3699d2Copy full SHA for e3699d2
1 file changed
packages/pf3-component-mapper/src/files/switch.js
@@ -34,13 +34,7 @@ const Switch = (props) => {
34
description={description}
35
inputAddon={inputAddon}
36
>
37
- <SwitchField
38
- {...rest}
39
- {...input}
40
- disabled={isDisabled}
41
- checked={input.checked}
42
- onChange={({ target: { checked } }) => input.onChange(checked)}
43
- />
+ <SwitchField {...rest} {...input} disabled={isDisabled} checked={input.checked} />
44
</FormGroup>
45
);
46
};
0 commit comments