import React from "react";
import PropTypes from "prop-types";
import Contact from "./Contact";
import Legal from "./Legal";
import Imprint from "./Imprint";
const kontakt = Contact;
const rechtliches = Legal;
const impressum = Imprint;
const docs = {
  kontakt,
  rechtliches,
  impressum
};
const propTypes = {
  language: PropTypes.string,
  doc: PropTypes.oneOf(Object.keys(docs))
};
function LegalLines(_ref) {
  let {
    language = "de",
    doc = Object.keys(docs)[0]
  } = _ref;
  const Comp = docs[doc];
  return /*#__PURE__*/React.createElement(Comp, {
    language: language
  });
}
LegalLines.propTypes = propTypes;
export default LegalLines;
//# sourceMappingURL=LegalLines.js.map