update src/components/Modal/index.js and src/components/Tabbar/index.js

master
mahdi 2 years ago
parent 4944598023
commit be63c248fa
  1. 2
      src/components/Modal/index.js
  2. 6
      src/components/Tabbar/index.js

@ -20,7 +20,7 @@ const Modal = ({ activeTab, children }) => {
openModal ? "flex" : "hidden pointer-events-none" openModal ? "flex" : "hidden pointer-events-none"
}`} }`}
> >
<div className="min-w-[900px] w-fit min-h-[777px] flex flex-col justify-between bg-white border border-gray-400 rounded"> <div className="min-w-[900px] w-fit min-h-[700px] flex flex-col justify-between bg-white border border-gray-400 rounded">
<div <div
className="p-3 flex flex-col" className="p-3 flex flex-col"
onClick={(e) => e.stopPropagation()} onClick={(e) => e.stopPropagation()}

@ -42,31 +42,37 @@ Tabbar.defaultProps = {
title: "تنظیمات", title: "تنظیمات",
className: "rounded-tr-md rounded-br-md border-r-2", className: "rounded-tr-md rounded-br-md border-r-2",
components: <Settingss />, components: <Settingss />,
active: true,
}, },
{ {
title: "سوالات", title: "سوالات",
className: "", className: "",
components: <Questions />, components: <Questions />,
active: false,
}, },
{ {
title: "چک لیست", title: "چک لیست",
className: "", className: "",
components: <Checklist />, components: <Checklist />,
active: false,
}, },
{ {
title: "مکاتبات", title: "مکاتبات",
className: "", className: "",
components: <Mokatebat />, components: <Mokatebat />,
active: false,
}, },
{ {
title: "توابع", title: "توابع",
className: "", className: "",
components: <Tavabee />, components: <Tavabee />,
active: false,
}, },
{ {
title: "شرایط و اجرا", title: "شرایط و اجرا",
className: "rounded-tl-md rounded-bl-md border-l-2", className: "rounded-tl-md rounded-bl-md border-l-2",
components: <Condition />, components: <Condition />,
active: false,
}, },
], ],
}; };

Loading…
Cancel
Save