update ant-tree style

pull/116/head
ioldfish 10 years ago
parent 6d2cf352c3
commit 0065270e7f

@ -3,9 +3,14 @@ import Tree from 'rc-tree';
var TreeNode = Tree.TreeNode; var TreeNode = Tree.TreeNode;
var antDTree = React.createClass({ var antDTree = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-tree'
};
},
render() { render() {
return <Tree {...this.props} > return <Tree {...this.props} showIcon={false} showLine={false}>
{this.props.children} {this.props.children}
</Tree>; </Tree>;
} }

Loading…
Cancel
Save