import React from 'react';
import { TabMenu } from 'primereact/tabmenu';
import GenericButton from '@/components/buttons/GenericButton';
export default function MenuTab({ items, activeIndex, onTabChange, sidebarVisible, onToggleSidebar, isMobileView = false }) {
return (
onTabChange(e.index)}
pt={{
tabmenu: {
menu: ({ context }) => ({
className: 'bg-transparent border-none',
}),
action: ({ context }) => ({
className: 'bg-transparent border-none',
}),
},
}}
/>
{/* Sidebar toggle button positioned at the far right - hidden on mobile */}
{!isMobileView && (
)}
);
}