From 725a14266945ddeb4b276cb9e0eadba18bd79d02 Mon Sep 17 00:00:00 2001 From: elrrrrrrr Date: Fri, 2 Oct 2015 16:39:15 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=BF=81=E7=A7=BB=20tag=20iconfont?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/tag/index.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/tag/index.jsx b/components/tag/index.jsx index 6422588c16..2675a737ba 100644 --- a/components/tag/index.jsx +++ b/components/tag/index.jsx @@ -1,5 +1,6 @@ import React from 'react'; import Animate from 'rc-animate'; +import Icon from '../iconfont'; const prefixCls = 'ant-tag'; class AntTag extends React.Component { @@ -32,7 +33,7 @@ class AntTag extends React.Component { render() { let close = this.props.closable ? - : ''; + : ''; let colorClass = this.props.color ? this.props.prefixCls + '-' + this.props.color : ''; let className = this.props.prefixCls + ' ' + colorClass; className = this.state.closing ? className + ' ' + this.props.prefixCls + '-close' : className;