import { Button, Grid, Tab, Tabs, Typography } from '@mui/material'; import { Box } from '@mui/system'; import { useTranslation } from 'next-i18next'; import { useState } from 'react'; import TabPanel from '../tab-panel/TabPanel'; const TabContent = ({ description, inCart, price, category, addProductToCart, }) => { const [value, setValue] = useState(0); const { t } = useTranslation('products'); const handleChange = (event, newValue) => { setValue(newValue); }; function a11yProps(index) { return { id: `simple-tab-${index}`, 'aria-controls': `simple-tabpanel-${index}`, }; } return ( {description} ${price} {category} {' '} ); }; export default TabContent;