import { useCallback } from "react";
import { useActionContext } from "../../action/index.mjs";
const useIsBlockInPage = ()=>{
    const { visible } = useActionContext();
    const isBlockInPage = useCallback(()=>!visible, [
        visible
    ]);
    return {
        isBlockInPage
    };
};
export { useIsBlockInPage };
