mirror of https://github.com/sveltejs/svelte
parent
027108a464
commit
ade4588601
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
let rest = $props();
|
||||
</script>
|
||||
<ul>
|
||||
{#each Object.getOwnPropertyNames(rest) as n}
|
||||
<li>{n}</li>
|
||||
{/each}
|
||||
</ul>
|
||||
@ -0,0 +1,5 @@
|
||||
import { test } from '../../test';
|
||||
|
||||
export default test({
|
||||
html: '<ul><li>name</li><li>title</li><li>children</li></ul>'
|
||||
});
|
||||
@ -0,0 +1,5 @@
|
||||
<script>
|
||||
import Component from "./Component.svelte";
|
||||
</script>
|
||||
|
||||
<Component name="n" title="t">Foo</Component>
|
||||
Loading…
Reference in new issue