|
|
@ -27,9 +27,7 @@ const Tabbar = ({ tabs }) => { |
|
|
|
/> |
|
|
|
/> |
|
|
|
))} |
|
|
|
))} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div |
|
|
|
<div className={`rounded w-full text-white flex items-center mt-5 `}> |
|
|
|
className={`rounded w-full text-white flex items-center mt-5 ${activeTab?.bg}`} |
|
|
|
|
|
|
|
> |
|
|
|
|
|
|
|
{activeTab?.components} |
|
|
|
{activeTab?.components} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -44,37 +42,31 @@ 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 />, |
|
|
|
bg: "bg-transparent", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: "سوالات", |
|
|
|
title: "سوالات", |
|
|
|
className: "", |
|
|
|
className: "", |
|
|
|
components: <Questions />, |
|
|
|
components: <Questions />, |
|
|
|
bg: "bg-transparent", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: "چک لیست", |
|
|
|
title: "چک لیست", |
|
|
|
className: "", |
|
|
|
className: "", |
|
|
|
components: <Checklist />, |
|
|
|
components: <Checklist />, |
|
|
|
bg: "bg-transparent", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: "مکاتبات", |
|
|
|
title: "مکاتبات", |
|
|
|
className: "", |
|
|
|
className: "", |
|
|
|
components: <Mokatebat />, |
|
|
|
components: <Mokatebat />, |
|
|
|
bg: "bg-transparent", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
title: "توابع", |
|
|
|
title: "توابع", |
|
|
|
className: "", |
|
|
|
className: "", |
|
|
|
components: <Tavabee />, |
|
|
|
components: <Tavabee />, |
|
|
|
bg: "bg-transparent", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
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 />, |
|
|
|
bg: "bg-transparent", |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
], |
|
|
|
], |
|
|
|
}; |
|
|
|
}; |
|
|
|