Represents the props for the Terminal component.

interface TerminalProps {
    autoScroll?: boolean;
    commands?: Command[];
    defaultHandler?: Command;
    disableDefaultCommands?: boolean;
    fontSize?: number;
    theme?: Theme;
}

Properties

autoScroll?: boolean

Whether to auto scroll to bottom of the screen

commands?: Command[]

An array of commands available in the terminal.

defaultHandler?: Command

The default handler for the terminal.

disableDefaultCommands?: boolean

Whether to disable the default commands or not.

fontSize?: number

The font size for the terminal.

theme?: Theme

The theme for the terminal.

Generated using TypeDoc