#Starligh Props Passing

1 messages · Page 1 of 1 (latest)

exotic salmonBOT
#

Hi @desert lotus. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

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>

Please refer to the official Starlight documentation or the Astro community for more specific guidance on passing props in Starlight.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: