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

Function wrap_components_SyntaxHighlighter

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

Source from the content-addressed store, hash-verified

58456 components_PlainTextViewer = ({ className: s = '', children: o }) =>
58457 Re.createElement('pre', { className: Jn()('microlight', s) }, o),
58458 wrap_components_SyntaxHighlighter =
58459 (s, o) =>
58460 ({ renderPlainText: i, children: a, ...u }) => {
58461 const _ = o.getConfigs().syntaxHighlight.activated,
58462 w = o.getComponent('PlainTextViewer')
58463 return _ || 'function' != typeof i
58464 ? _
58465 ? Re.createElement(s, u, a)
58466 : Re.createElement(w, null, a)
58467 : i({ children: a, PlainTextViewer: w })
58468 },
58469 SyntaxHighlightingPlugin1 = () => ({
58470 afterLoad: after_load,

Callers

nothing calls this directly

Calls 2

getConfigsMethod · 0.80
iFunction · 0.70

Tested by

no test coverage detected