• Robert Knight's avatar
    Make `MenuItem` responsible for rendering associated submenus · fed2b97b
    Robert Knight authored
    To ensure consistency between different menus that contain items with
    submenus, move the responsibility for rendering the submenu and its
    container to the `MenuItem` component. The component that renders the
    top-level `MenuItem` must supply a `renderSubmenu` prop that renders the
    submenu on-demand.
    fed2b97b
group-list-item.js 4.33 KB