rano/web/lib/ui/Btn.svelte

13 lines
197 B
Svelte

<script lang="ts">
import { type Snippet } from "svelte";
interface Props {
children: Snippet
}
const { children }:Props = $props();
</script>
<button>
{@render children()}
</button>