fix: rendering islands inside other islands (#1295)

This commit is contained in:
Marvin Hagemeister
2023-06-15 17:55:17 +02:00
committed by GitHub
parent a1d266f0d3
commit 80306563d2
5 changed files with 155 additions and 16 deletions
@@ -0,0 +1,14 @@
import { ComponentChildren } from "preact";
import Island from "./Island.tsx";
export default function IslandInsideIsland(
props: { children?: ComponentChildren },
) {
return (
<div class="island">
<Island>
{props.children}
</Island>
</div>
);
}