Answers for "does image element of nextjs generate additional component"

1

using next js image component

import Image from 'next/image';
export default function Home() {
   return (
       <div>
           <Image
               src='/assets/pexels-kendall-hoopes-6000x4000.jpg'
               alt='universe'
               width={1500}
               height={1000}
           />
       </div>
   )
}
Posted by: Guest on July-12-2021

Code answers related to "does image element of nextjs generate additional component"

Browse Popular Code Answers by Language