Complete the code to spread all props onto the button element.
<button [1]>Click me</button>In Svelte, $$props contains all props passed to the component. Using {...$$props} spreads them onto the element.
Complete the code to pass all received props to the child component using spread syntax.
<ChildComponent [1] />To forward all props in Svelte, use {...$$props} on the child component.
Fix the error in spreading props to an input element.
<input type="text" [1] />
Only {...$$props} correctly spreads all passed props in Svelte.
Fill both blanks to spread props and add a class to the div.
<div class="container" [1] [2]></div>
class:extra instead of class attribute.Use {...$$props} to spread props and add a class attribute like class="highlight" to the div.
Fill all three blanks to spread props, add an aria-label, and set a style attribute.
<button [1] aria-label=[2] style=[3]>Submit</button>
Spread props with {...$$props}, set aria-label as a string, and style as a string with CSS rules.