UNPKG

@atlaskit/atlassian-navigation

Version:

A horizontal navigation component for Atlassian apps.

18 lines (17 loc) 567 B
import React from 'react'; export interface OverflowContext { /** * Returns `true` when the navigation item is visible, * and `false` when the navigation item has been pushed into the overflow menu. */ isVisible: boolean; /** * Method that can be used to programmatically open the overflow menu */ openOverflowMenu: () => void; /** * Method that can be used to programmatically close the overflow menu */ closeOverflowMenu: () => void; } export declare const OverflowContext: React.Context<OverflowContext>;