MCPcopy Index your code
hub / github.com/dataease/SQLBot / render

Method render

frontend/public/swagger-ui-bundle.js:62657–62673  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

62655 }
62656 const rA = contact_Contact
62657 class license_License extends Re.Component {
62658 render() {
62659 const { license: s, getComponent: o, selectedServer: i, url: a } = this.props,
62660 u = s.get('name', 'License'),
62661 _ = safeBuildUrl(s.get('url'), a, { selectedServer: i }),
62662 w = o('Link')
62663 return Re.createElement(
62664 'div',
62665 { className: 'info__license' },
62666 _
62667 ? Re.createElement(
62668 'div',
62669 { className: 'info__license__url' },
62670 Re.createElement(w, { target: '_blank', href: sanitizeUrl(_) }, u)
62671 )
62672 : Re.createElement('span', null, u)
62673 )
62674 }
62675 }
62676 const nA = license_License

Callers

nothing calls this directly

Calls 4

safeBuildUrlFunction · 0.85
sanitizeUrlFunction · 0.85
oFunction · 0.70
getMethod · 0.65

Tested by

no test coverage detected