"use strict";

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

var _react = _interopRequireDefault(require("react"));

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

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

function DefaultFooter(props) {
  // eslint-disable-next-line
  var copyrightContent = props.copyrightContent,
      poweredByContent = props.poweredByContent;
  return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement("span", {
    dangerouslySetInnerHTML: {
      __html: copyrightContent
    }
  }), _react.default.createElement("span", {
    className: "ml-auto",
    dangerouslySetInnerHTML: {
      __html: poweredByContent
    }
  }));
}

var _default = DefaultFooter;
exports.default = _default;
DefaultFooter.propTypes = {
  copyrightContent: _propTypes.default.any.isRequired,
  poweredByContent: _propTypes.default.any
};
DefaultFooter.defaultProps = {
  copyrightContent: '<a href="https://ecs.eng.psu.ac.th" target="blank">ECS@Engineer</a> &copy; 2019',
  poweredByContent: 'Powered by <a href="https://coreui.io/react">CoreUI for React</a>'
};