Fix(site): fix icon copy text

This commit is contained in:
afc163 2016-02-23 14:36:24 +08:00
parent 9523ade542
commit aa16f6c398

View File

@ -120,7 +120,7 @@ const CopyableIcon = React.createClass({
});
},
render() {
const text = '<Icon type="' + this.props.type + '" />';
const text = '<Icon type="' + this.props.type + '" />';
return (
<CopyToClipboard text={text} onCopy={this.onCopied}>
<li className={this.state.justCopied ? 'copied' : ''}>