Footer.jsx

jsx1 kB21 linesIn Examples.zip

Examples.zipChapter04-ComponentssrccomponentsFooter.jsx

JSX
// Footer Component
function Footer() {
  const year = new Date().getFullYear()
  
  return (
    <footer className="footer">
      <p>&copy; {year} My React App. All rights reserved.</p>
      <p>Built with ⚛️ React & ⚡ Vite</p>
    </footer>
  )
}

export default Footer







In components/