|
|
|
@ -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", |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
}; |
|
|
|
|