From 1a9456f03af01e9bd061ae9ec5a9efe374b39eee Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Sat, 9 Jun 2018 14:39:42 +0800 Subject: [PATCH] Add boolean to CheckboxValueType Close #10677 --- components/checkbox/Group.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/checkbox/Group.tsx b/components/checkbox/Group.tsx index c5ee68441d..c86d122fdd 100644 --- a/components/checkbox/Group.tsx +++ b/components/checkbox/Group.tsx @@ -4,7 +4,7 @@ import classNames from 'classnames'; import shallowEqual from 'shallowequal'; import Checkbox from './Checkbox'; -export type CheckboxValueType = string | number; +export type CheckboxValueType = string | number | boolean; export interface CheckboxOptionType { label: string; @@ -121,7 +121,7 @@ export default class CheckboxGroup extends React.Component (