"use strict";

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

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

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

exports.Landscape = Landscape;
var _default = Landscape;
exports.default = _default;