Buckets:
| import Image from "next/image"; | |
| import ViewSource from "../../components/view-source"; | |
| import mountains from "../../public/mountains.jpg"; | |
| const Responsive = () => ( | |
| <div> | |
| <ViewSource pathname="app/responsive/page.tsx" /> | |
| <h1>Image Component With Layout Responsive</h1> | |
| <Image | |
| alt="Mountains" | |
| src={mountains} | |
| width={700} | |
| height={475} | |
| sizes="100vw" | |
| style={{ | |
| width: "100%", | |
| height: "auto", | |
| }} | |
| /> | |
| </div> | |
| ); | |
| export default Responsive; | |
Xet Storage Details
- Size:
- 511 Bytes
- Xet hash:
- b2832c7b938e1a005069da61c0d8c0fae35b2d809afab4388db8ff4fec67bbbb
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.