docs icon indicating copy to clipboard operation
docs copied to clipboard

[UI framework components] passing Astro content via slot

Open sarah11918 opened this issue 3 years ago • 2 comments

  • New or updated content

Adding a section in UI Framework Components page explicitly saying

  • you CAN'T import an Astro component inside another framework component
  • but you CAN pass an Astro component's static content as children, via a slot

Still working on the wording, but want to get the concept included on this page

sarah11918 avatar Aug 11 '22 16:08 sarah11918

Deploy Preview for astro-docs-2 ready!

Name Link
Latest commit 9cc3f9163ac3da6cdb8c2b2274348e51f30c5901
Latest deploy log https://app.netlify.com/sites/astro-docs-2/deploys/62fb8c6e4ce8b10008c7e48c
Deploy Preview https://deploy-preview-1268--astro-docs-2.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

netlify[bot] avatar Aug 11 '22 16:08 netlify[bot]

LGTM, nice work @sarah11918! 🙌

yanthomasdev avatar Aug 12 '22 00:08 yanthomasdev