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 045ad1a commit 3aba30fCopy full SHA for 3aba30f
packages/core/src/CheckBox/index.tsx
@@ -38,7 +38,7 @@ function CheckBox(props: CheckBoxProps) {
38
const onPress = () => {
39
const { onChange } = props;
40
if (Reflect.has(props, 'checked')) {
41
- onChange && onChange(state.checked);
+ onChange && onChange(!state.checked);
42
} else {
43
setState({ checked: !state.checked });
44
onChange && onChange(!state.checked);
0 commit comments