diff options
Diffstat (limited to 'src/components/StatusDisplay.tsx')
| -rw-r--r-- | src/components/StatusDisplay.tsx | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/src/components/StatusDisplay.tsx b/src/components/StatusDisplay.tsx deleted file mode 100644 index 3a48a15..0000000 --- a/src/components/StatusDisplay.tsx +++ /dev/null @@ -1,51 +0,0 @@ -import { PanelSectionRow } from "@decky/ui"; - -interface StatusDisplayProps { - dllDetected: boolean; - dllDetectionStatus: string; - isInstalled: boolean; - installationStatus: string; -} - -export function StatusDisplay({ - dllDetected, - dllDetectionStatus, - isInstalled, - installationStatus -}: StatusDisplayProps) { - return ( - <PanelSectionRow> - <div style={{ marginBottom: "8px", fontSize: "14px" }}> - <div - style={{ - color: dllDetected ? "#4CAF50" : "#F44336", - fontWeight: "600", - marginBottom: "6px", - display: "flex", - alignItems: "center", - gap: "6px" - }} - > - <span style={{ fontSize: "16px" }}> - {dllDetected ? "✅" : "❌"} - </span> - {dllDetectionStatus} - </div> - <div - style={{ - color: isInstalled ? "#4CAF50" : "#FF9800", - fontWeight: "600", - display: "flex", - alignItems: "center", - gap: "6px" - }} - > - <span style={{ fontSize: "16px" }}> - {isInstalled ? "✅" : "❌"} - </span> - {installationStatus} - </div> - </div> - </PanelSectionRow> - ); -} |
