FormidableLabs / nuka-carousel

Small, fast, and accessibility-first React carousel library with an easily customizable UI and behavior to fit your brand and site.
https://commerce.nearform.com/open-source/nuka-carousel
Other
3.06k stars 593 forks source link

Make explicit children prop for React 18 @types/react issue #890

Closed riceboyler closed 2 years ago

riceboyler commented 2 years ago

Description

Simply adds children as an explicit prop to CarouselProps in index.d.ts, since that's what TypeScript is using as its type definition.

Fixes #889

Type of Change

Please delete options that are not relevant.

Testing

Tested with installing this version on https://github.com/riceboyler/nuka-types and it resolved the Typescript error.

vercel[bot] commented 2 years ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
nuka-carousel ✅ Ready (Inspect) Visit Preview Apr 22, 2022 at 10:05PM (UTC)