import { usePageContext } from '@wix/bex-core/react';
import { useSelector } from '../useSelector';
// CAIRO-3582: modify mobile detection to use user agent
// export { MOBILE_BREAKPOINT } from '@wix/bex-core';
export const useIsMobile = () => {
    const pageState = usePageContext();
    return useSelector(() => pageState.isMobile);
};
//# sourceMappingURL=useIsMobile.js.map