react-responsive-carousel
react-responsive-carousel copied to clipboard
Property 'swipeable' does not exist
When I tried to use swipeable props to false, I got this message.
Looking inside index.d.ts I noticed that there hasn't the prop swipeable.
export interface CarouselProps {
className?: string;
showArrows?: boolean;
showStatus?: boolean;
showIndicators?: boolean;
showThumbs?: boolean;
infiniteLoop?: boolean;
selectedItem?: number;
axis?: Axis;
onChange?: CarouselCallback;
onClickItem?: CarouselCallback;
onClickThumb?: CarouselCallback;
width?: string;
useKeyboardArrows?: boolean;
autoPlay?: boolean;
stopOnHover?: boolean;
interval?: number;
transitionTime?: number;
swipeScrollTolerance?: number;
dynamicHeight?: boolean;
emulateTouch?: boolean;
statusFormatter?: StatusFormatter;
children?: React.ReactNode;
centerMode?:boolean;
centerSlidePercentage?:number;
}
@HeitorBRaymundo @leandrowd The property swipeable now exists in the most recent version, so we can probably go ahead and close this issue yah?