import { jsx as _jsx } from "react/jsx-runtime";
import { createContext, useContext } from "react";
const drawerContext = createContext({});
function DrawerProvider(props) {
    return (_jsx(drawerContext.Provider, { value: { makeInvisible: props.makeInvisible }, children: props.children }));
}
function useDrawer() {
    return useContext(drawerContext);
}
export { DrawerProvider, useDrawer };
