@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
20 lines (19 loc) • 547 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getEmptyRootContext = getEmptyRootContext;
var _popups = require("../../utils/popups");
var _FloatingRootStore = require("../components/FloatingRootStore");
function getEmptyRootContext() {
return new _FloatingRootStore.FloatingRootStore({
open: false,
floatingElement: null,
referenceElement: null,
triggerElements: new _popups.PopupTriggerMap(),
floatingId: '',
nested: false,
noEmit: false,
onOpenChange: undefined
});
}