import React, { FC, ReactNode } from 'react' import { StyledMenuItem } from './styled' import { ListItemIcon, MenuItemProps as MuiMenuItemProps, Typography } from '@mui/material' type MenuItemProps = { onClick: () => void title: string Icon: ReactNode } & MuiMenuItemProps export const MenuItem: FC = ({ onClick, Icon, title }) => { return ( {Icon} {title} ) }