GoScrobble/web/node_modules/reactstrap/es/DropdownContext.js

13 lines
355 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import React from '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
* }
*/
export var DropdownContext = /*#__PURE__*/React.createContext({});