import React from 'react' ; type Props = { /** 作者 */ author : string ; /** 联系方式 */ contact : string ; } ; const Footer = ( { contact , author } ) => { return ( < footer > < div className = "" > Made with ❤ ️ < /div> < div className = "author" > by < a href = { contact } style = { { marginLeft : '4px' } } > { author } < /a> < /div> < /footer>); } ; export default Footer ;