import React from 'react';
import Tree from 'rc-tree';
import animation from '../common/openAnimation';
const AntTree = React.createClass({
getDefaultProps() {
return {
prefixCls: 'ant-tree',
checkable: false,
showIcon: false,
openAnimation: animation,
};
},
render() {
const props = this.props;
let checkable = props.checkable;
if (checkable) {
checkable = ;
}
return (
{this.props.children}
);
}
});
AntTree.TreeNode = Tree.TreeNode;
export default AntTree;