From dc8cb2ce4a96e510e729bdeda7eecf071f3064df Mon Sep 17 00:00:00 2001 From: vhcsilva Date: Wed, 6 Nov 2024 16:44:36 -0300 Subject: [PATCH] add tags to task card --- components/bounty/bounty-tags/view.tsx | 6 ++++-- .../task-list-item-default/task-list-item-default.view.tsx | 7 +++++++ .../tasks/tasks-list-item/tasks-list-item.controller.tsx | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/components/bounty/bounty-tags/view.tsx b/components/bounty/bounty-tags/view.tsx index c533c5a5cc..6bc2193449 100644 --- a/components/bounty/bounty-tags/view.tsx +++ b/components/bounty/bounty-tags/view.tsx @@ -2,15 +2,17 @@ import Badge from "components/badge"; interface BountyTagsProps { tags: string[]; + className?: string } export default function BountyTagsView({ - tags + tags, + className = "" }: BountyTagsProps) { if (!tags) return <>; return ( -
+
{tags.map((tag) => (
+ +
+ +
+
+
; } \ No newline at end of file