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 =>