video submitted by Kevin Åberg Kultalahti
Svelte5 - ComponentProps (Typescript)
How to get the type of a component's props.
SUGGESTION: I would probably call them LeafProps instead of LeafType
type LeafProps = ComponentProps‹typeof Leaf›
December 27, 2025