Comparing version 0.8.0-beta3 to 0.8.0-beta4
@@ -43,5 +43,5 @@ require('./index.css'); | ||
Validation: require('./validation'), | ||
Tree: require('./Tree'), | ||
Tree: require('./tree'), | ||
Upload: require('./upload'), | ||
Menu: require('./Menu') | ||
Menu: require('./menu') | ||
}; | ||
@@ -51,2 +51,2 @@ | ||
antd.version = '0.8.0-beta3'; | ||
antd.version = '0.8.0-beta4'; |
@@ -24,9 +24,16 @@ 'use strict'; | ||
return { | ||
prefixCls: 'ant-tree' | ||
prefixCls: 'ant-tree', | ||
checkable: false, | ||
showIcon: false | ||
}; | ||
}, | ||
render: function render() { | ||
var props = this.props; | ||
var checkable = props.checkable; | ||
if (checkable) { | ||
checkable = _react2['default'].createElement('span', { className: props.prefixCls + '-checkbox-inner' }); | ||
} | ||
return _react2['default'].createElement( | ||
_rcTree2['default'], | ||
_extends({}, this.props, { showIcon: false }), | ||
_extends({}, props, { checkable: checkable }), | ||
this.props.children | ||
@@ -33,0 +40,0 @@ ); |
{ | ||
"name": "antd", | ||
"version": "0.8.0-beta3", | ||
"version": "0.8.0-beta4", | ||
"stableVersion": "0.7.3", | ||
@@ -71,2 +71,4 @@ "title": "Ant Design", | ||
"babel-loader": "^5.3.2", | ||
"busboy": "~0.2.9", | ||
"chalk": "~1.1.0", | ||
"css-animation": "~1.0.3", | ||
@@ -85,4 +87,3 @@ "css-loader": "^0.14.1", | ||
"webpack": "^1.10.1", | ||
"webpack-dev-middleware": "^1.2.0", | ||
"busboy": "~0.2.9" | ||
"webpack-dev-middleware": "^1.2.0" | ||
}, | ||
@@ -89,0 +90,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
324443
11654
20