()
| 31 | } |
| 32 | |
| 33 | render() { |
| 34 | const { url, getComponent } = this.props |
| 35 | const Link = getComponent("Link") |
| 36 | |
| 37 | return ( |
| 38 | <Link target="_blank" href={sanitizeUrl(url)}> |
| 39 | <span className="url"> {url}</span> |
| 40 | </Link> |
| 41 | ) |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | class Info extends React.Component { |
nothing calls this directly
no test coverage detected