import { ReactNode } from 'react' import Box from '@mui/material/Box' interface TabPanelProps { children?: ReactNode index: number value: number } function TabPanel(props: TabPanelProps) { const { children, value, index, ...other } = props; return ( ); } export default TabPanel export function tabProps(index: number) { return { id: `simple-tab-${index}`, 'aria-controls': `simple-tabpanel-${index}`, }; }