import React from 'react';
import PropTypes from 'prop-types';

function DefaultFooter(props) {
  // eslint-disable-next-line
  const { copyrightContent, poweredByContent } = props;

  return (
    <React.Fragment>
      <span dangerouslySetInnerHTML={{__html: copyrightContent }} />
      <span className="ml-auto" dangerouslySetInnerHTML={{__html: poweredByContent}} />
    </React.Fragment>
  );

}
export default DefaultFooter;

DefaultFooter.propTypes = {
  copyrightContent: PropTypes.any.isRequired,
  poweredByContent: PropTypes.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>'
}


