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

const footerConfig = {
  company: 'Copyright ©2018 千岳科技. All Rights Reserved.'
};

const Footer = props => {
  let { company, technology } = props;
  return (
    <div className='login-footer'>
      <span>{company}</span>
      <span>{technology}</span>
    </div>
  );
};

Footer.propTypes = {
  company: PropTypes.string,
  technology: PropTypes.string
};

Footer.defaultProps = footerConfig;

export default Footer;
