import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
const ScrollAssistantStatusContext = /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react__.createContext)(null);
const ScrollAssistantStatusProvider = (param)=>{
    let { children } = param;
    const [enable, setEnable] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
    return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(ScrollAssistantStatusContext.Provider, {
        value: {
            enable,
            setEnable
        },
        children: children
    });
};
const useScrollAssistantStatus = ()=>{
    const { enable, setEnable } = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(ScrollAssistantStatusContext);
    return {
        enable,
        setEnable
    };
};
export { ScrollAssistantStatusProvider, useScrollAssistantStatus };
