change: svelte5 対応

This commit is contained in:
moris 2024-12-08 00:16:43 +09:00
parent 3d253508d0
commit cf48e00138

View File

@ -1,4 +1,6 @@
<script>
let { children } = $props();
import './app.css'
function toggleFullScreen() {
@ -25,7 +27,7 @@
<button style="background-color: rgb(40 200 64)" aria-label="fullscreen" onclick={toggleFullScreen}></button>
</div>
<div class="code">
<slot />
{@render children()}
</div>
</div>