Skip to content

Commit 4379078

Browse files
committed
refactor(checkbox): ♻️ change onChange callback return type to void
1 parent 8b7b50c commit 4379078

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/checkbox/CheckboxGroup.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export interface CheckboxGroupProps {
2727
value: string[];
2828
defaultValue: string[];
2929
isDisabled: boolean;
30-
onChange: (value: string[]) => null;
30+
onChange: (value: string[]) => void;
3131
}
3232

3333
const RNCheckboxGroup: React.FC<Partial<CheckboxGroupProps>> = forwardRef<

0 commit comments

Comments
 (0)