Skip to content

Commit

Permalink
Revert "Update mention about dynamically generated slot names (#6440)" (
Browse files Browse the repository at this point in the history
#6793)

* Revert "Update mention about dynamically generated slot names (#6440)"

This reverts commit 86ac9ba.

* apply sarah's suggestions

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>
  • Loading branch information
MoustaphaDev and sarah11918 authored Feb 6, 2024
1 parent ffef040 commit 539b596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/en/basics/astro-components.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ Named slots can also be passed to [UI framework components](/en/guides/framework


:::note
Dynamically generating an Astro slot name, such as within a map function, was added in Astro v4.2.0. For earlier versions of Astro, it might be best to generate these dynamic slots within the framework itself.
It is not possible to dynamically generate an Astro slot name, such as within a map function. If this feature is needed within UI framework components, it might be best to generate these dynamic slots within the framework itself.
:::


Expand Down

0 comments on commit 539b596

Please sign in to comment.