You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
svelte/test/runtime/samples/export-from/main.svelte

21 lines
328 B

<script>
import A, { a, b, c, d } from './A.svelte';
import {onMount} from 'svelte';
let component;
let props = {};
onMount(() => {
props = {
d: component.d,
e: component.e,
f: component.f,
g: component.g,
};
});
</script>
{a},{b},{c},{d}
<br />
<A bind:this={component} />
<br />
{JSON.stringify(props)}