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