Open heheleo opened 3 hours ago
Addition
The current Select component example does not play well with Svelte 5, as it raises the error:
Select
Property 'type' is missing in type '{ children: () => any; }' but required in type 'SelectMultipleRootPropsWithoutHTML'
This can be fixed by specifying the type prop within Select.Root. This also aligns with the jsdoc, which has marked type as required.
type
Select.Root
To clarify, this is the example under the Usage subheading, relating to the theme.
Change Type
Addition
Proposed Changes
The current
Select
component example does not play well with Svelte 5, as it raises the error:Property 'type' is missing in type '{ children: () => any; }' but required in type 'SelectMultipleRootPropsWithoutHTML'
This can be fixed by specifying the
type
prop withinSelect.Root
. This also aligns with the jsdoc, which has markedtype
as required.