#Starligh Props Passing
1 messages · Page 1 of 1 (latest)
I'm sorry, but the information extracts provided do not contain specific details on how to pass props in Starlight, which is the official documentation template for Astro. The extracts mainly discuss passing props in Astro and its associated issues.
However, in Astro, you can pass props from Astro components to framework components as shown in the Astro documentation (https://docs.astro.build/en/core-concepts/framework-components/):
---import TodoList from '../components/TodoList.jsx';import Counter from '../components/Counter.svelte';---<div> <TodoList initialTodos={["learn Astro", "review PRs"]} /> <Counter startingCount={1} /></div>