update App.js, src/components/CardDesign3/index.js, src/components/SearchBox/index.js and src/components/TitleSubtitle/index.js

master
mahdi 2 years ago
parent 800ed8143e
commit 072a37ae04
  1. 4
      src/components/CardDesign3/index.js
  2. 2
      src/components/TitleSubtitle/index.js

@ -8,13 +8,14 @@ import searchIcon from "./search-icon.svg";
const CardDesign3 = () => { const CardDesign3 = () => {
return ( return (
<div className="flex flex-col bg-white shadow-sm rounded max-w-[440px] mr-20 my-20 p-4"> <div className="flex flex-col bg-white shadow-sm border border-[#d2d2d2] rounded max-w-[440px] mr-20 my-20 p-4">
<TitleSubtitle <TitleSubtitle
subTitle={false} subTitle={false}
title={"افراد حاضر در این سالن"} title={"افراد حاضر در این سالن"}
titleClassName={"font-bold text-[#0F0543]"} titleClassName={"font-bold text-[#0F0543]"}
titleBorderClassName={"w-1.5 h-7 bg-[#1F8CF9] ml-2"} titleBorderClassName={"w-1.5 h-7 bg-[#1F8CF9] ml-2"}
/> />
<div className="mt-7">
<SearchBox <SearchBox
inputWidth={"100%"} inputWidth={"100%"}
searchIcon={searchIcon} searchIcon={searchIcon}
@ -22,6 +23,7 @@ const CardDesign3 = () => {
placeHolderColor={"placeholder-[#D2D2D2]"} placeHolderColor={"placeholder-[#D2D2D2]"}
borderClr={"#D2D2D2"} borderClr={"#D2D2D2"}
/> />
</div>
<CustomToast2 num={4} /> <CustomToast2 num={4} />
</div> </div>
); );

@ -7,7 +7,7 @@ const TitleSubtitle = ({
titleBorderClassName, titleBorderClassName,
}) => { }) => {
return ( return (
<div> <div className="">
{/* page Title */} {/* page Title */}
{title && ( {title && (
<div className="flex flex-row items-center"> <div className="flex flex-row items-center">

Loading…
Cancel
Save