change component name for clarity

This commit is contained in:
Vishnu Sreekumaran Nair committed 2025-04-10 17:41:54 -04:00
1 parent c3f24a1693
commit 8af4fd8e3e
3 files changed
+9 -9

No files matched your search

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