diff --git a/src/components/CardDesign3/index.js b/src/components/CardDesign3/index.js
index 4bb042e..5eb0e43 100644
--- a/src/components/CardDesign3/index.js
+++ b/src/components/CardDesign3/index.js
@@ -2,6 +2,9 @@ import React from "react";
import CustomToast2 from "../CustomToast2";
import Button from "../Button";
import TitleSubtitle from "../TitleSubtitle";
+import SearchBox from "../SearchBox";
+
+import searchIcon from "./search-icon.svg";
const CardDesign3 = () => {
return (
@@ -12,6 +15,13 @@ const CardDesign3 = () => {
titleClassName={"font-bold text-[#0F0543]"}
titleBorderClassName={"w-1.5 h-7 bg-[#1F8CF9] ml-2"}
/>
+
);
diff --git a/src/components/CardDesign3/search-icon.svg b/src/components/CardDesign3/search-icon.svg
new file mode 100644
index 0000000..ce1a0d1
--- /dev/null
+++ b/src/components/CardDesign3/search-icon.svg
@@ -0,0 +1,9 @@
+
diff --git a/src/components/SearchBox/index.js b/src/components/SearchBox/index.js
index ed2d0f6..bf3acc8 100644
--- a/src/components/SearchBox/index.js
+++ b/src/components/SearchBox/index.js
@@ -10,6 +10,7 @@ const SearchBox = ({
backgroundColor,
inputWidth,
placeHolderColor,
+ placeholder,
}) => {
const [activeSearchBox, setActiveSearchBox] = useState(false);
return (
@@ -33,7 +34,7 @@ const SearchBox = ({
onFocus={() => setActiveSearchBox(true)}
// onBlur={() => setActiveSearchBox(false)}
type="text"
- placeholder="دنبال چه چیزی هستید"
+ placeholder={placeholder}
className={`text-xs text-blue-400 rounded focus:outline-none border focus:border-blue-200 focus:ring focus:ring-blue-200 focus:ring-opacity-20 ${placeHolderColor}`}
style={{
backgroundColor: backgroundColor,
@@ -51,6 +52,8 @@ SearchBox.defaultProps = {
cancleIcon: zarbedar,
searchIcon: search,
+ placeholder: "دنبال چه چیزی هستید",
+
inputWidth: "15%",
borderClr: "#B5D6FF",