flexlayout-react
    Preparing search index...

    Interface IPopupMenuItemApi

    Helpers passed to a custom IPopupMenuProps.renderItem so it can drive the menu's canonical selection/close behaviour (focus return, onSelect, onClose).

    interface IPopupMenuItemApi {
        close: () => void;
        select: () => void;
    }
    Index
    close: () => void

    close the menu without selecting

    select: () => void

    select this item (fires onSelect then closes the menu)