diff --git a/src/components/Tabbar/index.js b/src/components/Tabbar/index.js index 871faaf..abd259b 100644 --- a/src/components/Tabbar/index.js +++ b/src/components/Tabbar/index.js @@ -27,9 +27,7 @@ const Tabbar = ({ tabs }) => { /> ))} -
+
{activeTab?.components}
@@ -44,37 +42,31 @@ Tabbar.defaultProps = { title: "تنظیمات", className: "rounded-tr-md rounded-br-md border-r-2", components: , - bg: "bg-transparent", }, { title: "سوالات", className: "", components: , - bg: "bg-transparent", }, { title: "چک لیست", className: "", components: , - bg: "bg-transparent", }, { title: "مکاتبات", className: "", components: , - bg: "bg-transparent", }, { title: "توابع", className: "", components: , - bg: "bg-transparent", }, { title: "شرایط و اجرا", className: "rounded-tl-md rounded-bl-md border-l-2", components: , - bg: "bg-transparent", }, ], };