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

Function example_Example

frontend/public/swagger-ui-bundle.js:59071–59109  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

59069 )
59070 }
59071 }
59072 function example_Example(s) {
59073 const { example: o, showValue: i, getComponent: a } = s,
59074 u = a('Markdown', !0),
59075 _ = a('HighlightCode', !0)
59076 return o && ze.Map.isMap(o)
59077 ? Re.createElement(
59078 'div',
59079 { className: 'example' },
59080 o.get('description')
59081 ? Re.createElement(
59082 'section',
59083 { className: 'example__section' },
59084 Re.createElement(
59085 'div',
59086 { className: 'example__section-header' },
59087 'Example Description'
59088 ),
59089 Re.createElement(
59090 'p',
59091 null,
59092 Re.createElement(u, { source: o.get('description') })
59093 )
59094 )
59095 : null,
59096 i && o.has('value')
59097 ? Re.createElement(
59098 'section',
59099 { className: 'example__section' },
59100 Re.createElement(
59101 'div',
59102 { className: 'example__section-header' },
59103 'Example Value'
59104 ),
59105 Re.createElement(_, null, stringify(o.get('value')))
59106 )
59107 : null
59108 )
59109 : null
59110 }
59111 class ExamplesSelect extends Re.PureComponent {
59112 static defaultProps = {

Callers

nothing calls this directly

Calls 4

stringifyFunction · 0.85
aFunction · 0.70
getMethod · 0.65
hasMethod · 0.45

Tested by

no test coverage detected