MCPcopy Create free account
hub / github.com/FlowiseAI/Flowise / getSVG

Function getSVG

packages/ui/src/views/chatflows/APICodeDialog.jsx:456–471  ·  view source on GitHub ↗
(codeLang)

Source from the content-addressed store, hash-verified

454 }
455
456 const getSVG = (codeLang) => {
457 if (codeLang === 'Python') {
458 return pythonSVG
459 } else if (codeLang === 'JavaScript') {
460 return javascriptSVG
461 } else if (codeLang === 'Embed') {
462 return EmbedSVG
463 } else if (codeLang === 'cURL') {
464 return cURLSVG
465 } else if (codeLang === 'Share Chatbot') {
466 return ShareChatbotSVG
467 } else if (codeLang === 'Configuration') {
468 return settingsSVG
469 }
470 return pythonSVG
471 }
472
473 // ----------------------------CONFIG FORM DATA --------------------------//
474

Callers 1

APICodeDialogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected