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

Function getComponent

frontend/public/swagger-ui-bundle.js:57166–57178  ·  view source on GitHub ↗
(s, o, i)

Source from the content-addressed store, hash-verified

57164 w(u).render(Re.createElement(_, null))
57165 },
57166 getComponent =
57167 (s, o, i) =>
57168 (a, u, _ = {}) => {
57169 if ('string' != typeof a)
57170 throw new TypeError('Need a string, to fetch a component. Was given a ' + typeof a)
57171 const w = i(a)
57172 return w
57173 ? u
57174 ? 'root' === u
57175 ? withConnect(s, w, o())
57176 : withConnect(s, w)
57177 : w
57178 : (_.failSilently || s().log.warn('Could not find component:', a), null)
57179 },
57180 getDisplayName = (s) => s.displayName || s.name || 'Component',
57181 view = ({ getComponents: s, getStore: o, getSystem: i }) => {

Callers 1

viewFunction · 0.85

Calls 4

withConnectFunction · 0.85
iFunction · 0.70
oFunction · 0.70
sFunction · 0.50

Tested by

no test coverage detected