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