mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-30 19:36:29 +08:00
Fix(site): fix icon copy text
This commit is contained in:
parent
9523ade542
commit
aa16f6c398
@ -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' : ''}>
|
||||
|
Loading…
Reference in New Issue
Block a user