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

Method render

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

Source from the content-addressed store, hash-verified

62863 }
62864 }
62865 class Curl extends Re.Component {
62866 render() {
62867 const { request: s, getComponent: o } = this.props,
62868 i = requestSnippetGenerator_curl_bash(s),
62869 a = o('SyntaxHighlighter', !0)
62870 return Re.createElement(
62871 'div',
62872 { className: 'curl-command' },
62873 Re.createElement('h4', null, 'Curl'),
62874 Re.createElement(
62875 'div',
62876 { className: 'copy-to-clipboard' },
62877 Re.createElement(Hn.CopyToClipboard, { text: i }, Re.createElement('button', null))
62878 ),
62879 Re.createElement(
62880 'div',
62881 null,
62882 Re.createElement(
62883 a,
62884 {
62885 language: 'bash',
62886 className: 'curl microlight',
62887 renderPlainText: ({ children: s, PlainTextViewer: o }) =>
62888 Re.createElement(o, { className: 'curl' }, s),
62889 },
62890 i
62891 )
62892 )
62893 )
62894 }
62895 }
62896 const property = ({ propKey: s, propVal: o, propClass: i }) =>

Callers

nothing calls this directly

Calls 2

oFunction · 0.70

Tested by

no test coverage detected