Terminal Pass Through

Pass Through documentation for Terminal component

Viewer#

Some sections may not be visible due to the availability of the particular feature.

Enter "date" to display the current date, "greet 0" for a message and "random" to get a random number.

Welcome to PrimeReact
primereact $ 

Terminal PT Options#

Defines passthrough(pt) options of Terminal component.

labeltypedescription
rootTerminalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.
commandListTerminalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the commandList's DOM element.
commandsTerminalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the commands' DOM element.
commandValueTerminalPassThroughType<HTMLAttributes<HTMLSpanElement>>Used to pass attributes to the command value's DOM element.
commandResponseTerminalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the command response's DOM element.
promptTerminalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the prompt's DOM element.
promptValueTerminalPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the prompt value's DOM element.
promptLabelTerminalPassThroughType<HTMLAttributes<HTMLSpanElement>>Used to pass attributes to the prompt label's DOM element.

TerminalWelcome PT Options#

Defines passthrough(pt) options of TerminalWelcome component.

labeltypedescription
rootTerminalWelcomePassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.

TerminalCommandList PT Options#

Defines passthrough(pt) options of TerminalCommandList component.

labeltypedescription
rootTerminalCommandListPassThroughType<HTMLAttributes<HTMLDivElement>>Used to pass attributes to the root's DOM element.