import { useElementSize } from './use-el-size';
export const useMobileLayout = () => {
    var _a;
    const containerSize = useElementSize(typeof document === 'undefined' ? null : document.body);
    return ((_a = containerSize === null || containerSize === void 0 ? void 0 : containerSize.width) !== null && _a !== void 0 ? _a : Infinity) < 900;
};
