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