()
| 6 | const IconFont = createFromIconfont('//at.alicdn.com/t/c/font_4443338_a2wwqhorbk4.js'); |
| 7 | |
| 8 | function App() { |
| 9 | const ref = useRef<SVGSVGElement>(null); |
| 10 | const ref2 = useRef<SVGSVGElement>(null); |
| 11 | |
| 12 | return ( |
| 13 | <div> |
| 14 | <div style={ {padding: '50px'} }> |
| 15 | <IconAdd size='40px' ref={ref}></IconAdd> |
| 16 | <IconEmail spin></IconEmail> |
| 17 | <IconEmail style={{color: 'blue', fontSize: '50px'}}></IconEmail> |
| 18 | </div> |
| 19 | <div style={ {padding: '50px'} }> |
| 20 | <IconFont type="icon-shouye-zhihui" size="40px" ref={ref2}></IconFont> |
| 21 | <IconFont type="icon-gerenzhongxin-zhihui" fill="blue" size="40px"></IconFont> |
| 22 | </div> |
| 23 | </div> |
| 24 | ); |
| 25 | } |
| 26 | |
| 27 | export default App; |
nothing calls this directly
no outgoing calls
no test coverage detected