From e9b022a4d3a36c756c4079903105902699cc3cea Mon Sep 17 00:00:00 2001 From: 230417 <230417@epvc.pt> Date: Wed, 11 Mar 2026 12:44:43 +0000 Subject: [PATCH] . --- web/src/components/ui/tabs.tsx | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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; ))}