From 77494457e2a4f5c80c3a2f7acb054b12d918d8ad Mon Sep 17 00:00:00 2001
From: xXJSONDeruloXx <danielhimebauch@gmail.com>
Date: Sun, 13 Jul 2025 00:04:54 -0400
Subject: restructure for maintainability

---
 src/components/StatusDisplay.tsx | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)
 create mode 100644 src/components/StatusDisplay.tsx

(limited to 'src/components/StatusDisplay.tsx')

diff --git a/src/components/StatusDisplay.tsx b/src/components/StatusDisplay.tsx
new file mode 100644
index 0000000..8eecd42
--- /dev/null
+++ b/src/components/StatusDisplay.tsx
@@ -0,0 +1,38 @@
+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: "bold",
+            marginBottom: "4px"
+          }}
+        >
+          {dllDetectionStatus}
+        </div>
+        <div
+          style={{
+            color: isInstalled ? "#4CAF50" : "#FF9800"
+          }}
+        >
+          Status: {installationStatus}
+        </div>
+      </div>
+    </PanelSectionRow>
+  );
+}
-- 
cgit v1.2.3

