Skip to main content

PreviewImage

To implement PreviewImage component into your project you'll need to add the import:

import { Preview } from "@shoptet/ui";

After adding import into your project you can use it simply like:

<Preview.Image
src="/images/product-example-full.png"
thumbnailSrc="/images/product-example-thumbnail.png"
alt="Product image"
/>