import _omit from "ramda/src/omit";
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); }
import React from 'react';
import styled from 'styled-components';
var CleanLegend = React.forwardRef(function (props, ref) {
  return React.createElement("legend", _extends({
    ref: ref
  }, _omit(['styleType'], props)));
});
export var Legend = styled(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;"]);