mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-23 00:45:16 +00:00
22 lines
593 B
JavaScript
22 lines
593 B
JavaScript
|
"use strict";
|
||
|
|
||
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
||
|
|
||
|
exports.__esModule = true;
|
||
|
exports.DropdownContext = void 0;
|
||
|
|
||
|
var _react = _interopRequireDefault(require("react"));
|
||
|
|
||
|
/**
|
||
|
* DropdownContext
|
||
|
* {
|
||
|
* toggle: PropTypes.func.isRequired,
|
||
|
* isOpen: PropTypes.bool.isRequired,
|
||
|
* direction: PropTypes.oneOf(['up', 'down', 'left', 'right']).isRequired,
|
||
|
* inNavbar: PropTypes.bool.isRequired,
|
||
|
* disabled: PropTypes.bool
|
||
|
* }
|
||
|
*/
|
||
|
var DropdownContext = /*#__PURE__*/_react.default.createContext({});
|
||
|
|
||
|
exports.DropdownContext = DropdownContext;
|