Merge branch 'master' of github.com:sveltejs/svelte

pull/2577/head
Richard Harris 6 years ago
commit ce9eba8227

@ -42,6 +42,6 @@ You can rename the variable, if you want — let's call it `active` in the paren
</Hoverable> </Hoverable>
``` ```
You can have as many of these components you like, and the slotted props will remain local to the component where they're declared. You can have as many of these components as you like, and the slotted props will remain local to the component where they're declared.
> Named slots can also have props; use the `let` directive on an element with a `slot="..."` attribute, instead of on the component itself. > Named slots can also have props; use the `let` directive on an element with a `slot="..."` attribute, instead of on the component itself.

Loading…
Cancel
Save