mirror of https://github.com/sveltejs/svelte
fixes #10790 part of #9774pull/10800/head
parent
ffb27f667a
commit
378a17e8c8
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
fix: deduplicate children prop and default slot
|
@ -0,0 +1,5 @@
|
||||
---
|
||||
"svelte": patch
|
||||
---
|
||||
|
||||
feat: provide `isSnippet` function to determine whether a given value is a snippet
|
@ -0,0 +1,6 @@
|
||||
<script>
|
||||
export let children;
|
||||
</script>
|
||||
|
||||
{children}
|
||||
<slot />
|
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: `foo bar`
|
||||
});
|
@ -0,0 +1,7 @@
|
||||
<script>
|
||||
import A from "./A.svelte";
|
||||
</script>
|
||||
|
||||
<A children="foo">
|
||||
bar
|
||||
</A>
|
Loading…
Reference in new issue