import { Box, useTheme } from "@mui/material"; import { TabList } from "@mui/lab"; import PropTypes from "prop-types"; const CustomTabList = ({ value, onChange, children, ...props }) => { const theme = useTheme(); return ( {children} ); }; CustomTabList.propTypes = { value: PropTypes.string, onChange: PropTypes.func, children: PropTypes.node, }; export default CustomTabList;