11 lines
299 B
Plaintext
11 lines
299 B
Plaintext
---
|
|
import renderPicture from "../api/renderPicture.js";
|
|
import type { PictureConfigOptions } from "../types.d";
|
|
|
|
declare interface Props extends PictureConfigOptions {}
|
|
|
|
const { link, style, picture } = await renderPicture(Astro.props as Props);
|
|
---
|
|
|
|
<Fragment set:html={link + style + picture} />
|