Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const MaterialNestedMenuList = () => {
const nestedStyles = useMaterialNestedMenuStyles();
const actionToggleStyles = useMaterialActionToggleItemStyles();
const infoStyles = useMaterialInfoMenuItemStyles();
return (
({
children: data.label,
classes: actionToggleStyles,
listItemProps: {
className: nestedStyles.menuItem,
classes: pick(infoStyles, ['root', 'focusVisible']),
const MaterialCollapsibleMenuList = () => {
const [selectedKey, setSelectedKey] = React.useState('');
const actionStyles = useMaterialActionToggleItemStyles();
const toggleStyles = useMaterialToggleMenuItemStyles();
const infoStyles = useMaterialInfoMenuItemStyles();
const extraStyles = useStyles();
return (
(