Terminal
defaultProps of default
<Terminal entries={[{ command: "whoami", output: "jessew" }, { command: "uname -a", output: "Linux website 7.2.8-2-cachyos #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux" }, { command: "ls ~/projects", output: "website\nversia\ndotfiles" }, { command: "cat motd.txt", output: "Welcome! Type a command below.\nTry `help` for a list of commands." }]} />whoami
jessew
uname -a
Linux website 7.2.8-2-cachyos #1 SMP PREEMPT_DYNAMIC x86_64 GNU/Linux
ls ~/projects
website
versia
dotfiles
cat motd.txt
Welcome! Type a command below.
Try `help` for a list of commands.
guest@cpluspatch.com:~$
emptyProps of empty
<Terminal entries={[]} />guest@cpluspatch.com:~$
interactiveProps of interactive
<Terminal interactive />guest@cpluspatch.com:~$
interactive-with-historyProps of interactive-with-history
<Terminal interactive entries={[{ command: "whoami", output: "jessew" }]} />whoami
jessew
guest@cpluspatch.com:~$