UNPKG

@atlaskit/navigation-system

Version:

The latest navigation system for Atlassian apps.

14 lines (13 loc) • 535 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.IsSideNavShortcutEnabledContext = void 0; var _react = require("react"); /** * Context for whether the side nav toggle shortcut is enabled. * * Used to share the `isSideNavShortcutEnabled` prop value from `Root` with other components, * so the visual keyboard shortcut in tooltips can be conditionally displayed. */ var IsSideNavShortcutEnabledContext = exports.IsSideNavShortcutEnabledContext = /*#__PURE__*/(0, _react.createContext)(false);