From 5762b4139b5dbc20615386bd6f79458dc5f0c291 Mon Sep 17 00:00:00 2001 From: ddcat1115 Date: Thu, 1 Sep 2016 17:17:05 +0800 Subject: [PATCH] fix ButtonGroup 'default' size warning close #2906 --- components/button/button-group.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/button/button-group.jsx b/components/button/button-group.jsx index d494a345e3..9b39f3e8a3 100644 --- a/components/button/button-group.jsx +++ b/components/button/button-group.jsx @@ -23,5 +23,5 @@ export default function ButtonGroup(props) { } ButtonGroup.propTypes = { - size: React.PropTypes.oneOf(['large', 'small']), + size: React.PropTypes.oneOf(['large', 'default', 'small']), };