---
type Props = {
  stringFunction: (_: string) => string;
};

const { stringFunction } = Astro.props;
const owner = Astro.slots.has("default") ? await Astro.slots.render("default") : "";
---

{owner ? <li set:html={stringFunction(owner)} /> : null}
