MCPcopy
hub / github.com/swagger-api/swagger-ui / render

Method render

src/core/components/info.jsx:33–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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
45class Info extends React.Component {

Callers

nothing calls this directly

Calls 2

sanitizeUrlFunction · 0.90
getComponentFunction · 0.85

Tested by

no test coverage detected