"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.useViewportType = void 0;
const styles_1 = require("@mui/material/styles");
const useMediaQuery_1 = __importDefault(require("@mui/material/useMediaQuery"));
const useViewportType = () => {
    const theme = (0, styles_1.useTheme)();
    const isMobile = (0, useMediaQuery_1.default)(theme.breakpoints.down('sm'));
    return { isMobile };
};
exports.useViewportType = useViewportType;
