提交 6382a145 编写于 作者: A afc163

do not show title when there is no title in popover

上级 9edea2d4
......@@ -47,9 +47,7 @@ const Popover = React.createClass({
getOverlay() {
return <div>
<div className={prefixCls + '-title'}>
{this.props.title}
</div>
{this.props.title && <div className={prefixCls + '-title'}>{this.props.title}</div>}
<div className={prefixCls + '-content'}>
{this.props.overlay}
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册