fix: conditional island children not rendered (#1822)

This commit is contained in:
Marvin Hagemeister
2023-09-26 08:48:26 +02:00
committed by GitHub
parent 8ebb94bf59
commit 5a47ffaf59
5 changed files with 219 additions and 91 deletions
@@ -0,0 +1,18 @@
import Dropdown, {
DropdownHandle,
DropdownMenu,
} from "../islands/Dropdown.tsx";
export default function Page() {
return (
<div>
<h1>Dropdown</h1>
<Dropdown>
<DropdownHandle>Click me!</DropdownHandle>
<DropdownMenu>
<p class="result">Hello Menu!</p>
</DropdownMenu>
</Dropdown>
</div>
);
}