"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "Page", {
    enumerable: true,
    get: function() {
        return Page;
    }
});
const _jsxruntime = require("react/jsx-runtime");
const _hooks = require("@orderly.network/hooks");
const _types = require("@orderly.network/types");
const Page = (props)=>{
    //measure layout
    // useLayoutEffect(() => {}, []);
    const matches = (0, _hooks.useMediaQuery)(_types.MEDIA_TABLET);
    if (matches) {
        return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
            children: props.md
        });
    }
    return /*#__PURE__*/ (0, _jsxruntime.jsx)(_jsxruntime.Fragment, {
        children: props.children
    });
};

//# sourceMappingURL=page.js.map