diff --git a/web/src/components/ui/tabs.tsx b/web/src/components/ui/tabs.tsx index e3815d8..94aad0d 100644 --- a/web/src/components/ui/tabs.tsx +++ b/web/src/components/ui/tabs.tsx @@ -1,4 +1,4 @@ -type Tab = { id: string; label: string }; +type Tab = { id: string; label: string; badge?: number }; export const Tabs = ({ tabs, active, onChange }: { tabs: Tab[]; active: string; onChange: (id: string) => void }) => (
@@ -6,13 +6,17 @@ export const Tabs = ({ tabs, active, onChange }: { tabs: Tab[]; active: string; ))}