Skip to content

Commit 05aeb16

Browse files
authored
feat(sidebar): add onClick to SidebarMenuButton (#5552)
1 parent aa95b7d commit 05aeb16

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

apps/frontend/components/ui/sidebar.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,10 @@ const SidebarMenuButtonMeta: CodeComponentMeta<SidebarMenuButtonProps> = {
757757
},
758758
],
759759
},
760+
onClick: {
761+
type: "eventHandler",
762+
argTypes: [{ name: "event", type: "object" }],
763+
},
760764
},
761765
};
762766

0 commit comments

Comments
 (0)