export default (function (_ref) {
  var baseUnit = _ref.theme.constants.SIZE_SUB_UNIT,
    height = _ref.height;
  if (typeof height === "object") {
    var _height$min = height.min,
      min = _height$min === void 0 ? "" : _height$min,
      _height$max = height.max,
      max = _height$max === void 0 ? "" : _height$max,
      _height$base = height.base,
      base = _height$base === void 0 ? "" : _height$base;
    return "\n      " + (min && "min-height: " + (typeof min === "number" ? baseUnit * min + "px" : min) + ";") + "\n      " + (max && "max-height: " + (typeof max === "number" ? baseUnit * max + "px" : max) + ";") + "\n      " + (base && "height: " + (typeof base === "number" ? baseUnit * base + "px" : base) + ";") + "\n    ";
  }
  return height && "height: " + (typeof height === "number" ? baseUnit * height + "px" : height) + ";";
});