terminal-panel
Code execution terminal
AIterminal-panel.css
Installation
$
npx skeehn add terminal-panelPreview
Terminal
$ npx skeehn add button > Added button.css to components/ > Done in 0.3s $ npx skeehn add card > Added card.css to components/ > Done in 0.2s
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| title | string | — | Terminal window title |
| theme | 'dark' | 'light' | 'dark' | Color theme |
Usage
terminal-panel.tsx
1import { TerminalPanel } from '@skeehn/react';23export function Terminal() {4 return (5 <TerminalPanel title="shell">6 <pre>$ npm run build\n> Build complete</pre>7 </TerminalPanel>8 );9}