import React from "react"; import figlet from "figlet"; import { Box, Text } from "ink"; import { useColor, useUnchained } from "./theme.ts"; export const Header = React.memo(() => { const font: figlet.Fonts = "Doom"; const top = figlet.textSync("Laiss", { font }); const bottom = figlet.textSync("Codex", { font }); const themeColor = useColor(); const unchained = useUnchained(); return {top} {bottom} { unchained && Unchained mode activated! } });