@atlaskit/atlassian-navigation
Version:
A horizontal navigation component for Atlassian apps.
20 lines (19 loc) • 665 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.useOverflowStatus = void 0;
var _react = require("react");
var _overflowContext = require("./overflow-context");
/**
* __useOverFlowStatus__
*
* Returns the current context value for the nearest OverflowProvider.
*
* - [Example](https://atlassian.design/components/atlassian-navigation/examples#responsive)
*
* @deprecated `@atlaskit/atlassian-navigation` is deprecated. Use `@atlaskit/navigation-system` instead.
*/
var useOverflowStatus = exports.useOverflowStatus = function useOverflowStatus() {
return (0, _react.useContext)(_overflowContext.OverflowContext);
};