Skip to content

use PropsWithChildren in Carousel #1278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 2, 2021
Merged

Conversation

ethanshar
Copy link
Collaborator

@ethanshar ethanshar commented Apr 28, 2021

Description

This is not a fix, just a small refactor.
React provides PropsWithChildren to decorate any interface with the children type

Changelog

use PropsWithChildren in Carousel

@Inbal-Tish Inbal-Tish merged commit 7500c51 into master May 2, 2021
@ethanshar ethanshar deleted the fix/Carousel_ChildrenType branch July 26, 2021 09:08
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