-
- theme.palette.mode === 'dark'
- ? theme.palette.primaryDark[700]
- : theme.palette.grey[100],
- },
- }}
- >
- {props.icon}
-
-
-
- {props.name}
-
-
- {props.description}
-
-
-
- );
-}
-
-ProductSubMenu.propTypes = {
- description: PropTypes.string,
- icon: PropTypes.element,
- name: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),
-};
-
function ProductDrawerButton(props) {
const [anchorEl, setAnchorEl] = React.useState(null);
const open = Boolean(anchorEl);
@@ -137,7 +42,6 @@ function ProductDrawerButton(props) {
setAnchorEl(null);
};
- /* eslint-disable material-ui/no-hardcoded-labels */
return (