Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris authored Jan 23, 2024
1 parent 248c2aa commit ffcb1c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ We _could_ do this with a sequence of `if` blocks...
{/each}
</select>
+++<svelte:component this={selected.component}/>+++
+++<svelte:component this={selected.component} />+++
```

The `this` value can be any component constructor, or a falsy value — if it's falsy, no component is rendered.

1 comment on commit ffcb1c7

@vercel
Copy link

@vercel vercel bot commented on ffcb1c7 Jan 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.