mirror of https://github.com/sveltejs/svelte
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.
32 lines
448 B
32 lines
448 B
4 years ago
|
<script>
|
||
|
export let a;
|
||
|
export let b;
|
||
|
export let c;
|
||
|
export let d;
|
||
|
export let e;
|
||
|
export let f;
|
||
|
let Component;
|
||
|
</script>
|
||
|
|
||
|
{a.normal}{b?.optional}
|
||
|
{c['computed']}{d?.['computed_optional']}
|
||
|
{e()}{f?.()}
|
||
|
|
||
|
<div
|
||
|
a={a.normal}
|
||
|
b={b?.optional}
|
||
|
c={c['computed']}
|
||
|
d={d?.['computed_optional']}
|
||
|
e={e()}
|
||
|
f={f?.()}
|
||
|
/>
|
||
|
|
||
|
<Component
|
||
|
a={a.normal}
|
||
|
b={b?.optional}
|
||
|
c={c['computed']}
|
||
|
d={d?.['computed_optional']}
|
||
|
e={e()}
|
||
|
f={f?.()}
|
||
|
/>
|