From 51f87808e9b0bee01ac78438737e077b8601e6ea Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2022 11:38:42 +0430 Subject: [PATCH] update src/components/CardTrelloDesign/index.js --- src/components/CardTrelloDesign/index.js | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/CardTrelloDesign/index.js b/src/components/CardTrelloDesign/index.js index a159dff..9dd4ef8 100644 --- a/src/components/CardTrelloDesign/index.js +++ b/src/components/CardTrelloDesign/index.js @@ -9,11 +9,11 @@ import messageText from "./images/message-text.svg"; import ProfilePicNextToEachOther from "../ProfilePicNextToEachOther"; import AnimatedProgressBar from "../AnimatedProgressBar"; -const CardTrelloDesign = ({ circle,commnets,buttons,tags, }) => { +const CardTrelloDesign = ({ circle,commnets,buttons,tags,showBtn,showTag }) => { return (
{/* top */} -
+
{/* right */} {circle && ( { )} {/* left */}
- {buttons.map(btn=> { borderRadius={"rounded-sm"} icon={false} text={btn.name} - />)} + /> + )}
{/* middle */} @@ -63,7 +64,7 @@ const CardTrelloDesign = ({ circle,commnets,buttons,tags, }) => { comment-icon
)} - {tags.map(tag => + {showTag && tags.map(tag =>