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

master
mahdi 2 years ago
parent 01034fc7de
commit 4f910de219
  1. 10
      src/components/Tabbar/index.js

@ -27,9 +27,7 @@ const Tabbar = ({ tabs }) => {
/>
))}
</div>
<div
className={`rounded w-full text-white flex items-center mt-5 ${activeTab?.bg}`}
>
<div className={`rounded w-full text-white flex items-center mt-5 `}>
{activeTab?.components}
</div>
</div>
@ -44,37 +42,31 @@ Tabbar.defaultProps = {
title: "تنظیمات",
className: "rounded-tr-md rounded-br-md border-r-2",
components: <Settingss />,
bg: "bg-transparent",
},
{
title: "سوالات",
className: "",
components: <Questions />,
bg: "bg-transparent",
},
{
title: "چک لیست",
className: "",
components: <Checklist />,
bg: "bg-transparent",
},
{
title: "مکاتبات",
className: "",
components: <Mokatebat />,
bg: "bg-transparent",
},
{
title: "توابع",
className: "",
components: <Tavabee />,
bg: "bg-transparent",
},
{
title: "شرایط و اجرا",
className: "rounded-tl-md rounded-bl-md border-l-2",
components: <Condition />,
bg: "bg-transparent",
},
],
};

Loading…
Cancel
Save