We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch react-responsive-carousel@3.2.23 for the project I'm working on.
react-responsive-carousel@3.2.23
Issue : Using Dynamically generated carousel screens throws a typing error.
Here is the diff that solved my problem:
diff --git a/node_modules/react-responsive-carousel/lib/ts/components/Carousel/types.d.ts b/node_modules/react-responsive-carousel/lib/ts/components/Carousel/types.d.ts index f170eef..33c5797 100644 --- a/node_modules/react-responsive-carousel/lib/ts/components/Carousel/types.d.ts +++ b/node_modules/react-responsive-carousel/lib/ts/components/Carousel/types.d.ts @@ -18,7 +18,7 @@ export interface CarouselProps { autoPlay?: boolean; centerMode?: boolean; centerSlidePercentage: number; - children?: React.ReactChild[]; + children?: React.ReactNode; className?: string; dynamicHeight?: boolean; emulateTouch?: boolean;
If needed, I can raise a PR too. Thank you for your work once again!
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
react-responsive-carousel@3.2.23
for the project I'm working on.Issue : Using Dynamically generated carousel screens throws a typing error.
Here is the diff that solved my problem:
If needed, I can raise a PR too. Thank you for your work once again!
This issue body was partially generated by patch-package.
The text was updated successfully, but these errors were encountered: