터미널 패널
CLI 명령과 출력 로그를 담는 Orbit의 대표 패널이다. 패널 헤더, command 슬롯, output 영역, footer를 제공한다.
활용 방법
배포 출력
LogLine과 함께 사용하면 콘솔 출력이 된다.
Preview
deploy
$ npm run deploy00:00info[cli] starting build
00:12success[cli] deployed to production
tsx
<TerminalPanel title="deploy" command="$ npm run deploy"><LogLine level="info">starting build</LogLine></TerminalPanel>
속성
| 이름 | 타입 | 기본값 | 설명 |
|---|---|---|---|
| title | ReactNode | "terminal" | 헤더 제목 |
| command | ReactNode | - | 우측 명령 |
| children | ReactNode | - | 출력 영역 |
| footer | ReactNode | - | 하단 정보 |