From acd7a96f689d4ff0023a40e94f1eb8ef0e8295a4 Mon Sep 17 00:00:00 2001 From: tjz <415800467@qq.com> Date: Fri, 8 Jun 2018 18:37:03 +0800 Subject: [PATCH] style: change checkbox props verify --- components/checkbox/Checkbox.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/checkbox/Checkbox.jsx b/components/checkbox/Checkbox.jsx index 92a7d11d9..b53646850 100644 --- a/components/checkbox/Checkbox.jsx +++ b/components/checkbox/Checkbox.jsx @@ -9,9 +9,9 @@ export default { default: 'ant-checkbox', type: String, }, - defaultChecked: Boolean, - checked: { type: Boolean, default: undefined }, - disabled: Boolean, + defaultChecked: PropTypes.bool, + checked: PropTypes.bool, + disabled: PropTypes.bool, isGroup: Boolean, value: [String, Number, Boolean], name: String,