site-library/packages/imagetoolsNew/components/Image.astro
2025-03-08 21:04:49 +01: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} />