"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("../stores/utils/useContextOrThrow.js"),t=require("./ViewportContext.js"),o=require("./ViewType.js");exports.useViewType=function(){var i=r.useContextOrThrow(t.ViewportContext);return e.useMemo((function(){return{viewType:i,isMobile:i===o.VIEW_TYPE.mobile}}),[i])};
//# sourceMappingURL=useViewType.js.map
