<CommandLineTerminal> Component

The <CommandLineTerminal> is a representation of a terminal in a static state.

Share
Code Editor

Where it's used

0.x.x
Loading 0.x.x releases...
1.x.x
Loading 1.x.x releases...
2.x.x
Loading 2.x.x releases...

Props

NameDescription
product
string
A lower-case product identifier to pull in respective theme colors. The default is hashicorp blue.
Options: "hashicorp", "boundary", "consul", "nomad", "packer", "terraform", "vault", "vagrant", "waypoint"
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
Options: "navy", "gray", "white"