提交 5c884a64 编写于 作者: A afc163

Remove Button type PropTypes limit, close #1308

上级 9f342a05
......@@ -35,7 +35,7 @@ export default class Button extends React.Component {
}
static propTypes = {
type: React.PropTypes.oneOf(['primary', 'ghost', 'dashed']),
type: React.PropTypes.string,
shape: React.PropTypes.oneOf(['circle', 'circle-outline']),
size: React.PropTypes.oneOf(['large', 'small']),
htmlType: React.PropTypes.oneOf(['submit', 'button', 'reset']),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册