From 0065270e7f2515a2a2865ae11ab71c763d3d8e3b Mon Sep 17 00:00:00 2001 From: ioldfish Date: Wed, 5 Aug 2015 17:38:02 +0800 Subject: [PATCH] update ant-tree style --- components/tree/index.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/tree/index.jsx b/components/tree/index.jsx index adcdbbb4dd..fd2b5a97de 100644 --- a/components/tree/index.jsx +++ b/components/tree/index.jsx @@ -3,9 +3,14 @@ import Tree from 'rc-tree'; var TreeNode = Tree.TreeNode; var antDTree = React.createClass({ + getDefaultProps() { + return { + prefixCls: 'ant-tree' + }; + }, render() { - return + return {this.props.children} ; }