polymech-astro/packages/imagetools_3/components/Image.astro
2025-08-26 12:17:29 +02:00

11 lines
271 B
Plaintext

---
import renderImage from "../api/renderImage.js";
import type { PictureConfigOptions as ImageConfigOptions } from "../types.d";
const { link, style, image } = await renderImage(
Astro.props as ImageConfigOptions
);
---
<Fragment set:html={link + style + image} />