We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77c4f5e commit 18f1149Copy full SHA for 18f1149
src/components/AssetDownload/AssetDownloadImage.tsx
@@ -1,15 +1,16 @@
1
-import { Center } from "@chakra-ui/react"
+import { ImageProps } from "next/image"
2
3
-import { Image, type ImageProps } from "@/components/Image"
+import { TwImage } from "../Image"
4
+import { Center } from "../ui/flex"
5
6
interface AssetDownloadImageProps {
7
image: ImageProps["src"]
8
alt: string
9
}
10
11
const AssetDownloadImage = ({ image, alt }: AssetDownloadImageProps) => (
- <Center border="1px" borderColor="white700" p="8" w="full">
12
- <Image src={image} alt={alt} w="full" alignSelf="center" />
+ <Center className="w-full border border-[#e5e5e5] p-8">
13
+ <TwImage src={image} alt={alt} className="w-full self-center" />
14
</Center>
15
)
16
0 commit comments