@atlaskit/menu
Version:
A list of options to help users navigate, or perform actions.
24 lines (22 loc) • 733 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.SpacingContext = exports.SELECTION_STYLE_CONTEXT_DO_NOT_USE = void 0;
var _react = require("react");
/**
* __Spacing context__
*
* The spacing context is used to provide spacing values to menu item primitives.
*
* @internal Do not use directly.
*/
var SpacingContext = exports.SpacingContext = /*#__PURE__*/(0, _react.createContext)('cozy');
/**
* __Selection context__
*
* The selection context is used to set what selection mode the menu items display as.
*
* @internal Do not use directly.
*/
var SELECTION_STYLE_CONTEXT_DO_NOT_USE = exports.SELECTION_STYLE_CONTEXT_DO_NOT_USE = /*#__PURE__*/(0, _react.createContext)('border');