@coreui/react-pro
Version:
UI Components Library for React.js
14 lines (10 loc) • 463 B
JavaScript
;
var React = require('react');
/**
* Provides the per-level accordion state to the direct children (`CNavGroup`, `CNavLink`) of a
* `CSidebarNav` or a parent `CNavGroup`. `null` means the consumer is rendered outside a sidebar
* navigation, in which case groups fall back to their own local state.
*/
const CNavGroupContext = React.createContext(null);
exports.CNavGroupContext = CNavGroupContext;
//# sourceMappingURL=CNavGroupContext.js.map