Skip to content

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

Open
Violettica wants to merge 1 commit intodavedbase:mainfrom
Violettica:bug/slider-dots
Open

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

Conversation

@Violettica
Copy link

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.
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.

1 participant