mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
13 lines
355 B
JavaScript
13 lines
355 B
JavaScript
|
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({});
|