Skip to content

Commit

Permalink
[docs] fix typos in config reference (#11506)
Browse files Browse the repository at this point in the history
* [docs] fix typos in config reference

* Create empty-onions-buy.md
  • Loading branch information
sarah11918 authored Jul 19, 2024
1 parent df89cfd commit 026e8ba
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-onions-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"astro": patch
---

Fixes typo in documenting the `slot="fallback"` attribute for Server Islands experimental feature.
4 changes: 2 additions & 2 deletions packages/astro/src/@types/astro.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2236,7 +2236,7 @@ export interface AstroUserConfig {
* <Avatar server:defer />
* ```
*
* The outer page will be rendered, either at build-time (`hybrid`) or at runtime (`server`) with the island content omitted and a `<script>` tag included in its place.
* The outer page will be rendered, either at build time (`hybrid`) or at runtime (`server`) with the island content omitted and a `<script>` tag included in its place.
*
* After the page loads in the browser, the script tag will replace itself with the the contents of the island by making a request.
*
Expand All @@ -2255,7 +2255,7 @@ export interface AstroUserConfig {
*
* Since your component will not render with the rest of the page, you may want to add generic content (e.g. a loading message) to temporarily show in its place. This content will be displayed when the page first renders but before the island has loaded.
*
* Add placeholder content as a child of your Astro component with the `slot="fallback:` attribute. When your island content is available, the fallback content will be replaced.
* Add placeholder content as a child of your Astro component with the `slot="fallback"` attribute. When your island content is available, the fallback content will be replaced.
*
* The example below displays a generic avatar as fallback content, then animates into a personalized avatar using view transitions:
*
Expand Down

0 comments on commit 026e8ba

Please sign in to comment.