From ff1c0e5f516316a957210dc4b7bacddefc5297c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20G=C3=B6decken?= Date: Sat, 23 Nov 2024 20:25:58 +0100 Subject: [PATCH] chore: simplify story --- src/primevue/panelMenu/panelMenu.stories.ts | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/src/primevue/panelMenu/panelMenu.stories.ts b/src/primevue/panelMenu/panelMenu.stories.ts index 8254672..2869bd6 100644 --- a/src/primevue/panelMenu/panelMenu.stories.ts +++ b/src/primevue/panelMenu/panelMenu.stories.ts @@ -12,31 +12,23 @@ const meta: Meta = { argTypes: {}, }; -type MenuItemWithCount = MenuItem & { - count?: string; - items?: MenuItemWithCount[] | undefined; -}; - -const items: MenuItemWithCount[] = [ +const items: MenuItem[] = [ { label: "Alle Dokumentarten", - count: "1.024", key: "all", }, { label: "Gesetze & Verordnungen", - count: "1.024", key: "N", }, { label: "Gerichtsentscheidungen", - count: "1.024", key: "R", items: [ - { label: "Alle Gerichtsentscheidungen", count: "1.024", key: "R-A" }, - { label: "Urteil", count: "1.024", key: "R-U" }, - { label: "Beschluss", count: "1.024", key: "R-B" }, - { label: "Sonstige Entscheidungen", count: "1.024", key: "R-S" }, + { label: "Alle Gerichtsentscheidungen", key: "R-A" }, + { label: "Urteil", key: "R-U" }, + { label: "Beschluss", key: "R-B" }, + { label: "Sonstige Entscheidungen", key: "R-S" }, ], }, ];