()
| 42 | return h(resolveComponent(this.icon), this.props, this.event) |
| 43 | }, |
| 44 | renderSvgIcon () { |
| 45 | const props = Object.assign({}, this.props) |
| 46 | props.width = '1em' |
| 47 | props.height = '1em' |
| 48 | props.class = 'custom-icon' |
| 49 | |
| 50 | return h('span', { role: 'img', class: 'anticon' }, [ |
| 51 | h(this.svgIcon, { ...props }, this.event) |
| 52 | ]) |
| 53 | } |
| 54 | }, |
| 55 | render () { |
| 56 | if (this.icon) { |