diff --git a/src/components/Picture.astro b/src/components/Picture.astro index 8d5ed88..375a077 100644 --- a/src/components/Picture.astro +++ b/src/components/Picture.astro @@ -1,10 +1,13 @@ --- import cx from 'classnames'; -import { Picture } from 'astro-imagetools/components'; +import { Picture as AstroImageToolsPicture } from 'astro-imagetools/components'; import type { PictureConfigOptions } from 'astro-imagetools'; interface Props extends PictureConfigOptions { + alt: string; + aspect: number; + breakpoints?: number[]; class?: string; noMargin?: boolean; src: string; @@ -24,7 +27,12 @@ const classes = cx( src.includes('.svg') ? ( ) : ( - + ) }