"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
Object.defineProperty(exports, "Landscape", {
  enumerable: true,
  get: function () {
    return _Landscape.default;
  }
});
Object.defineProperty(exports, "LandscapeGrid", {
  enumerable: true,
  get: function () {
    return _LandscapeGrid.default;
  }
});
Object.defineProperty(exports, "Portrait", {
  enumerable: true,
  get: function () {
    return _Portrait.default;
  }
});
Object.defineProperty(exports, "PortraitGrid", {
  enumerable: true,
  get: function () {
    return _PortraitGrid.default;
  }
});
Object.defineProperty(exports, "useWindowSize", {
  enumerable: true,
  get: function () {
    return _reactUse.useWindowSize;
  }
});
exports.isLandscape = exports.isPortrait = void 0;

var _Landscape = _interopRequireDefault(require("./Landscape"));

var _LandscapeGrid = _interopRequireDefault(require("./LandscapeGrid"));

var _Portrait = _interopRequireDefault(require("./Portrait"));

var _PortraitGrid = _interopRequireDefault(require("./PortraitGrid"));

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

const isPortrait = d => d.width <= d.height;

exports.isPortrait = isPortrait;

const isLandscape = d => d.width > d.height;

exports.isLandscape = isLandscape;