Skip to content

Commit

Permalink
chore: simplify story
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterCarl committed Nov 23, 2024
1 parent 8c41ba9 commit ff1c0e5
Showing 1 changed file with 5 additions and 13 deletions.
18 changes: 5 additions & 13 deletions src/primevue/panelMenu/panelMenu.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,23 @@ const meta: Meta<typeof PanelMenu> = {
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" },
],
},
];
Expand Down

0 comments on commit ff1c0e5

Please sign in to comment.