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

Method render

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

Source from the content-addressed store, hash-verified

62629 }
62630 }
62631 class contact_Contact extends Re.Component {
62632 render() {
62633 const { data: s, getComponent: o, selectedServer: i, url: a } = this.props,
62634 u = s.get('name', 'the developer'),
62635 _ = safeBuildUrl(s.get('url'), a, { selectedServer: i }),
62636 w = s.get('email'),
62637 x = o('Link')
62638 return Re.createElement(
62639 'div',
62640 { className: 'info__contact' },
62641 _ &&
62642 Re.createElement(
62643 'div',
62644 null,
62645 Re.createElement(x, { href: sanitizeUrl(_), target: '_blank' }, u, ' - Website')
62646 ),
62647 w &&
62648 Re.createElement(
62649 x,
62650 { href: sanitizeUrl(`mailto:${w}`) },
62651 _ ? `Send email to ${u}` : `Contact ${u}`
62652 )
62653 )
62654 }
62655 }
62656 const rA = contact_Contact

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