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