"use strict";

exports.__esModule = true;
exports.default = exports.Portrait = void 0;

var _reactUse = require("react-use");

const Portrait = props => {
  const state = (0, _reactUse.useWindowSize)();
  if (state.width >= state.height) return null;
  return props.children;
};

exports.Portrait = Portrait;
var _default = Portrait;
exports.default = _default;