diff --git a/src/components/CardDesign3/index.js b/src/components/CardDesign3/index.js
index b016623..0364457 100644
--- a/src/components/CardDesign3/index.js
+++ b/src/components/CardDesign3/index.js
@@ -1,5 +1,6 @@
import React from "react";
import CustomToast2 from "../CustomToast2";
+import Button from "../Button";
import TitleSubtitle from "../TitleSubtitle";
const CardDesign3 = () => {
@@ -13,6 +14,10 @@ const CardDesign3 = () => {
titleDividerBgColor={"bg-[#1FF87D]"}
titleDividerWidth={"w-1.5"}
/>
+
);
diff --git a/src/components/CardTrelloDesign/index.js b/src/components/CardTrelloDesign/index.js
index 982840a..d7ad894 100644
--- a/src/components/CardTrelloDesign/index.js
+++ b/src/components/CardTrelloDesign/index.js
@@ -118,7 +118,6 @@ const CardTrelloDesign = ({
parentBg={"bg-[#E3E3E3]"}
childBg={"bg-[#06BACE]"}
/>
- {/*
*/}
);
};
@@ -149,14 +148,14 @@ CardTrelloDesign.defaultProps = {
tags: [
{
title: "29 فروردین",
- color: "#007987",
- backgroundColor: "#06BACE33",
+ color: "text-[#007987]",
+ backgroundColor: "bg-[#06BACE33]",
icon: clock,
},
{
title: "12 از 13",
- color: "#FFAA00",
- backgroundColor: "#FFAA0033",
+ color: "text-[#FFAA00]",
+ backgroundColor: "bg-[#FFAA0033]",
icon: nike,
},
],
diff --git a/src/components/TitleSubtitle/index.js b/src/components/TitleSubtitle/index.js
index 8f5f567..0acf005 100644
--- a/src/components/TitleSubtitle/index.js
+++ b/src/components/TitleSubtitle/index.js
@@ -3,24 +3,16 @@ import React from "react";
const TitleSubtitle = ({
title,
subTitle,
- titleColor,
- titleFontWeight,
- titleFontSize,
- titleDividerBgColor,
- titleDividerWidth,
- titleDividerHeight,
+ titleClassName,
+ titleBorderClassName,
}) => {
return (
{/* page Title */}
{title && (
-
-
- {title}
-
+
+
{title}
)}
{/* page subTitle */}
@@ -39,11 +31,6 @@ export default TitleSubtitle;
TitleSubtitle.defaultProps = {
title: "میزان فروش محصولات",
subTitle: "اطلاعات جداول مشخصاتی کارکنان مجموعه ایران تایر",
-
- titleColor: "text-[#233876]",
- titleFontWeight: "font-normal",
- titleFontSize: "text-base",
- titleDividerBgColor: "bg-blue-600",
- titleDividerWidth: "w-1",
- titleDividerHeight: "h-5",
+ titleClassName: "text-base font-normal text-[#233876]",
+ titleBorderClassName: "w-1 h-5 bg-blue-600",
};