You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the error: Type 'AutoplayType' is not assignable to type 'CreatePluginType<LoosePluginType, {}>'.
more:
Type 'AutoplayType' is not assignable to type 'CreatePluginType<LoosePluginType, {}>'.
Type 'AutoplayType' is not assignable to type '{ name: string; options: Partial<{ active: boolean; breakpoints: { [key: string]: Omit<Partial<...>, "breakpoints">; }; }>; init: (embla: EmblaCarouselType, OptionsHandler: OptionsHandlerType) => void; destroy: () => void; }'.
Types of property 'init' are incompatible.
Type '(embla: EmblaCarouselType) => void' is not assignable to type '(embla: EmblaCarouselType, OptionsHandler: OptionsHandlerType) => void'.
Types of parameters 'embla' and 'embla' are incompatible.
Property 'clickAllowed' is missing in type 'import("/home/eduardojpanzo/Projects/Vaawel/smarttech-ui/node_modules/embla-carousel-react/node_modules/embla-carousel/esm/components/EmblaCarousel").EmblaCarouselType' but required in type 'import("/home/eduardojpanzo/Projects/Vaawel/smarttech-ui/node_modules/embla-carousel/components/index").EmblaCarouselType'.ts(2322)
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
node version: v20.15.1
npm version: 10.7.0
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm trying to use the plugins prop to add plugins to the carousel.and I'm having a typing error.
My componet:
My dependencies
Affected component/components
Carousel
How to reproduce
This is the error:
Type 'AutoplayType' is not assignable to type 'CreatePluginType<LoosePluginType, {}>'.
more:
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: