Components/Content/Terminal
component

Terminal

src/components/code.tsx

Import

import { Terminal } from "@ossrandom/design-system";

Examples

Default

↗ Playground

API

extends BaseProps

PropType
title string
lines required readonly TerminalLine[]
streaming boolean
height number | string
searchable boolean
tabs readonly { readonly key: string; readonly label: string; readonly active?: boolean }[]
onInput (cmd: string) => void; readonly onTabChange?: (key: string) => void;