"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.responsiveNumber = void 0;

var _propTypes = _interopRequireDefault(require("prop-types"));

var getResponsivePropType = function getResponsivePropType(x) {
  return _propTypes["default"].oneOfType([x, _propTypes["default"].object, _propTypes["default"].arrayOf(x)]);
};

var responsiveNumber = getResponsivePropType(_propTypes["default"].number);
exports.responsiveNumber = responsiveNumber;