"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.Legend = void 0;
var _omit2 = _interopRequireDefault(require("ramda/src/omit"));
var _react = _interopRequireDefault(require("react"));
var _styledComponents = _interopRequireDefault(require("styled-components"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
var CleanLegend = _react.default.forwardRef(function (props, ref) {
  return _react.default.createElement("legend", _extends({
    ref: ref
  }, (0, _omit2.default)(['styleType'], props)));
});
var Legend = exports.Legend = (0, _styledComponents.default)(CleanLegend).withConfig({
  displayName: "NormalizedLegend__Legend",
  componentId: "sc-1svgb20-0"
})(["box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;"]);