update src/components/Modal/index.js ادامه کار

master
mahdi andalib 2 years ago
parent 8da03b02ea
commit a372083e77
  1. 14
      src/components/Modal/index.js

@ -18,14 +18,14 @@ const Modal = () => {
text={"ویرایش"} text={"ویرایش"}
onClick={() => setOpenModal(true)} onClick={() => setOpenModal(true)}
/> />
<div <div
className={`cursor-pointer w-screen h-screen flex items-center justify-center bg-black fixed left-0 top-0 duration-300 transition-all className={`cursor-pointer w-screen h-screen flex items-center justify-center bg-black fixed left-0 top-0 duration-300 transition-all
${openModal ? "opacity-60" : "opacity-0 pointer-events-none"} ${openModal ? "opacity-60" : "opacity-0 pointer-events-none"}
`} `}
> >
<div className="w-1/2 flex flex-col bg-white border border-gray-400 rounded-sm ">
<div <div
className="w-1/2 flex flex-col bg-white border border-gray-400 rounded-sm p-3" className="p-3 flex flex-col"
onClick={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()}
> >
<Button <Button
@ -35,9 +35,15 @@ const Modal = () => {
iconHolderClassName={"mr-0"} iconHolderClassName={"mr-0"}
onClick={() => setOpenModal(false)} onClick={() => setOpenModal(false)}
/> />
<Tabbar /> <Tabbar />
{/* <FormInput /> */} </div>
<div className="w-full flex flex-col items-end p-2 bg-[#e2dfdf]">
<Button
className="w-fit p-2 bg-[#3C58EA] text-white rounded-md"
text={"ذخیره و ثبت اطلاعات"}
iconHolderClassName={"mr-0"}
/>
</div>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save