Footer.jsx
jsx1 kB21 linesIn Examples.zip
Examples.zipChapter04-ComponentssrccomponentsFooter.jsx
// Footer Component
function Footer() {
const year = new Date().getFullYear()
return (
<footer className="footer">
<p>© {year} My React App. All rights reserved.</p>
<p>Built with ⚛️ React & ⚡ Vite</p>
</footer>
)
}
export default Footer