import { Box, Drawer, rem, Tabs } from "@mantine/core";
import { IconHexagons, IconSettings, IconSubtask, IconTags } from "@tabler/icons-react";
import { ReactNode } from "react";
import { motion } from "framer-motion";
import { useProjectsEditorContext } from "../../contexts/ProjectsEditorContext.tsx";
import General from "./tabs/General/General.tsx";
import Attributes from "./tabs/Attributes/Attributes.tsx";
import Modules from "./tabs/Modules/Modules.tsx";
import Tags from "./tabs/Tags/Tags.tsx";
const ProjectEditDrawer = () => {
    const { closeProjectsEditor, openedProjectsEditor } = useProjectsEditorContext();
    const getTabPanel = (value: string, component: ReactNode) => {
        return (
            
                
                    
                        {component}
                    
                
            
        );
    };
    return (
        
            
                
                    }>
                        Общее
                    
                    }>
                        Модули
                    
                    }>
                        Атрибуты
                    
                    }>
                        Теги
                    
                
                {getTabPanel("general", )}
                {getTabPanel("attributes", )}
                {getTabPanel("modules", )}
                {getTabPanel("tags", )}
            
        
    );
};
export default ProjectEditDrawer;