<CommandLineTerminal>
ComponentThe <CommandLineTerminal>
is a representation of a terminal in a static state.
<CommandLineTerminalproduct="waypoint"lines={[{code: '» Building . . . . . . . . . . . . .',},{color: 'gray',code: ' Creating new buildpack-based image using builder:',},{color: 'gray',code: ' heroku/buildpacks:18',},{color: 'navy',code: ' ✓ Creating pack client',},{color: 'white',code: '⠴ Building image',},]}/>
Name | Description |
---|---|
product string | A lower-case product identifier to pull in respective theme colors. The default is hashicorp blue. |
lines array | The lines of code to be rendered. Indentation can be represented by using whitespace. Array members must be of the type below: |
lines[x] object | Object contains nested props, see below: |
lines[x].code string | Code to be rendered |
lines[x].color string | Color of rendered code |