import StyledMenuItem from './styled-menu-item';
import * as React from 'react';

interface Props {
    style?: React.CSSProperties;
    children: React.ReactNode;
    onClick?: any;
    blockHover?: boolean;
}

const MenuItem = (props: Props) => (
    <StyledMenuItem
        style={props.style}
        onClick={props.onClick}
        blockHover={props.blockHover}
    >
        {props.children}
    </StyledMenuItem>
);

export default MenuItem;
