import { PanelSectionRow, ButtonItem } from "@decky/ui"; import { MESSAGES, STYLES } from "../utils/constants"; interface InstallationStatusProps { pathExists: boolean | null; installing: boolean; onInstallClick: () => void; } export function InstallationStatus({ pathExists, installing, onInstallClick }: InstallationStatusProps) { if (pathExists !== false) return null; return ( <> {MESSAGES.modNotInstalled} {installing ? MESSAGES.installing : MESSAGES.installButton} > ); }