From: Cameron Otsuka Date: Sat, 11 Apr 2026 01:17:31 +0000 (-0700) Subject: fix layout type X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=737b4ceaee3e88f33c51ac643d4d6f779a79173b;p=cotsuka.github.io fix layout type --- diff --git a/src/components/ui/figure.astro b/src/components/ui/figure.astro index 7b7813f..0ed2c07 100644 --- a/src/components/ui/figure.astro +++ b/src/components/ui/figure.astro @@ -1,12 +1,12 @@ --- import { Picture } from 'astro:assets'; -import type { ImageMetadata } from 'astro'; +import type { ImageLayout, ImageMetadata } from 'astro'; interface Props { image: ImageMetadata; alt: string; formats?: string[]; - layout?: string; + layout?: ImageLayout; } const { image, alt, formats = ['avif', 'webp'], layout } = Astro.props;