({ classsName, code }: ShellCodeBlockProps)
| 107 | } |
| 108 | |
| 109 | function 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 | |
| 123 | interface ActionListProps { |
| 124 | actions: ActionState[]; |
nothing calls this directly
no test coverage detected