import React from 'react'; import classNames from 'classnames'; import styles from './index.less'; const GlobalFooter = ({ className, links, copyright }) => { const clsString = classNames(styles.globalFooter, className); return (
{links && (
{links.map(link => ( {link.title} ))}
)} {copyright &&
{copyright}
}
); }; export default GlobalFooter;