Skip to content

Commit 7f6980c

Browse files
committedMay 25, 2024·
fix: use next image with preloader
1 parent 010e6c6 commit 7f6980c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/components/Images/ImageStack.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
import Image from "next/image";
1+
import { Image } from "@nextui-org/react";
22
import classes from "./ImageStack.module.scss";
33
import clsx from "clsx";
44

55
const ImageStack = (props: { images: [string, string, string] }) => {
66
return (
77
<div className={clsx(classes.Holder)}>
88
<div className={clsx(classes.StackImage)}>
9-
<Image src={props.images[0]} height={200} width={200} alt="stack of image" />
9+
<Image radius="none" src={props.images[0]} height={200} width={200} alt="stack of image" />
1010
</div>
1111
<div className={clsx(classes.StackImage)}>
12-
<Image src={props.images[1]} height={200} width={200} alt="stack of image" />
12+
<Image radius="none" src={props.images[1]} height={200} width={200} alt="stack of image" />
1313
</div>
1414
<div className={clsx(classes.StackImage)}>
15-
<Image src={props.images[2]} height={200} width={200} alt="stack of image" />
15+
<Image radius="none" src={props.images[2]} height={200} width={200} alt="stack of image" />
1616
</div>
1717
</div>
1818
);

0 commit comments

Comments
 (0)
Please sign in to comment.