Skip to content

Commit

Permalink
chore: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
Nate Moore committed Mar 2, 2022
1 parent 8852876 commit 3a0ef8a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/clean-bottles-drive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'astro': minor
---

Update `Astro.slots` API with new public `has` and `render` methods.

```ts
if (Astro.slots.has("default")) {
const content = await Astro.slots.render("default");
}
```

0 comments on commit 3a0ef8a

Please sign in to comment.