added in License
This commit is contained in:
@@ -1,12 +1,15 @@
|
||||
<script lang="ts">
|
||||
import { type Snippet } from "svelte";
|
||||
import { type Snippet } from 'svelte';
|
||||
|
||||
interface Props {
|
||||
children: Snippet
|
||||
}
|
||||
const { children }:Props = $props();
|
||||
interface Props {
|
||||
children: Snippet;
|
||||
}
|
||||
const { children }: Props = $props();
|
||||
</script>
|
||||
|
||||
// Copyright 2024 Patial Tech. All rights reserved. // Use of this source code is governed by a BSD-style // license
|
||||
that can be found in the LICENSE file.
|
||||
|
||||
<button>
|
||||
{@render children()}
|
||||
</button>
|
||||
|
Reference in New Issue
Block a user