change component name for clarity
This commit is contained in:
1 parent
c3f24a1693
commit
8af4fd8e3e
3 files changed
+9
-9
No files matched your search
@@ -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;
|
||||
Reference in new issue
Block a user