summaryrefslogtreecommitdiff
path: root/src/components/NowPlayingSummary.tsx
diff options
context:
space:
mode:
authorxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-11 10:23:23 -0400
committerxXJSONDeruloXx <danielhimebauch@gmail.com>2026-09-11 10:23:23 -0400
commit6597df7865b4eb5fce574d5efda1e33680df4357 (patch)
treeb6ec78ab8663c3da2e0745db8fb98bbb7303e6e2 /src/components/NowPlayingSummary.tsx
parent0be6ccdd1a8ecfe386281451cf4c49d052f6dda4 (diff)
downloaddecky-lsfg-vk-v2-now-playing.tar.gz
decky-lsfg-vk-v2-now-playing.zip
compact now playing infov2-now-playing
Diffstat (limited to 'src/components/NowPlayingSummary.tsx')
-rw-r--r--src/components/NowPlayingSummary.tsx16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/components/NowPlayingSummary.tsx b/src/components/NowPlayingSummary.tsx
new file mode 100644
index 0000000..adc5d10
--- /dev/null
+++ b/src/components/NowPlayingSummary.tsx
@@ -0,0 +1,16 @@
+import { Field, PanelSection, PanelSectionRow } from "@decky/ui";
+
+interface Props {
+ title: string;
+ details: string[];
+}
+
+export function NowPlayingSummary({ title, details }: Props) {
+ return (
+ <PanelSection>
+ <PanelSectionRow>
+ <Field label={title} description={details.filter(Boolean).join(" | ")} />
+ </PanelSectionRow>
+ </PanelSection>
+ );
+}