import { CSSProperties, useEffect } from "react"; import MrtImage from "./MRT.png"; import { useButtons } from "./useButtons"; import { useSounds } from "./useSounds"; import "./mrt.css"; import Image from "next/image"; import { useMrtStore } from "_store/pilot/MrtStore"; const MRT_BUTTON_STYLES: CSSProperties = { cursor: "pointer", zIndex: "9999", backgroundColor: "transparent", border: "none", }; const MRT_DISPLAYLINE_STYLES: CSSProperties = { color: "white", zIndex: 1, }; export interface DisplayLineProps { style?: CSSProperties; textLeft?: string; textMid?: string; textRight?: string; textSize: "1" | "2" | "3" | "4"; } const DisplayLine = ({ style = {}, textLeft, textMid, textRight, textSize, }: DisplayLineProps) => { const INNER_TEXT_PARTS: CSSProperties = { fontFamily: "Melder", flex: "1", flexBasis: "auto", overflowWrap: "break-word", }; return (