feat: allow passing JSX children to island + nested islands (#1285)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import IslandWithProps from "../islands/IslandWithProps.tsx";
|
||||
import Island from "../islands/Island.tsx";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<div id="page">
|
||||
<Island>
|
||||
<IslandWithProps foo={{ bar: "it works" }} />
|
||||
</Island>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user