MCPcopy Index your code
hub / github.com/stackblitz/bolt.new / ShellCodeBlock

Function ShellCodeBlock

app/components/chat/Artifact.tsx:109–121  ·  view source on GitHub ↗
({ classsName, code }: ShellCodeBlockProps)

Source from the content-addressed store, hash-verified

107}
108
109function ShellCodeBlock({ classsName, code }: ShellCodeBlockProps) {
110 return (
111 <div
112 className={classNames('text-xs', classsName)}
113 dangerouslySetInnerHTML={{
114 __html: shellHighlighter.codeToHtml(code, {
115 lang: 'shell',
116 theme: 'dark-plus',
117 }),
118 }}
119 ></div>
120 );
121}
122
123interface ActionListProps {
124 actions: ActionState[];

Callers

nothing calls this directly

Calls 1

classNamesFunction · 0.90

Tested by

no test coverage detected