Skip to content

Prevent SliderDots from demanding children it doesn't use in Typescript#24

Merged
davedbase merged 1 commit intodavedbase:mainfrom
Violettica:bug/slider-dots
Feb 14, 2026
Merged

Prevent SliderDots from demanding children it doesn't use in Typescript#24
davedbase merged 1 commit intodavedbase:mainfrom
Violettica:bug/slider-dots

Conversation

@Violettica
Copy link
Contributor

SliderDots used the FlowComponent type, which is meant for components that strictly require children to function. SliderDots does not appear to use props.children anywhere, therefore it is more appropriate to use the Component type instead.

SliderDots used the FlowComponent type, which is meant for components
that strictly require children to function. SliderDots does not appear
to use props.children anywhere, therefore it is more appropriate to use
the Component type instead.
@davedbase davedbase merged commit 813121e into davedbase:main Feb 14, 2026
@davedbase
Copy link
Owner

Good catch!

@davedbase
Copy link
Owner

Just released version 1.3.21 with the fix. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants