Created
September 19, 2023 07:39
-
-
Save mehmetyilmaz001/7c4fa852ac9711904dcc3edfd3b10bee to your computer and use it in GitHub Desktop.
NextJS Scaled Image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Image | |
src={imgUrl} | |
alt={title!} | |
width={0} | |
height={0} | |
sizes="100vw" | |
style={{ width: '100%', height: 'auto' }} | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment