Skip to content
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

Property 'swipeable' does not exist #264

Closed
HeitorBRaymundo opened this issue Aug 17, 2018 · 1 comment
Closed

Property 'swipeable' does not exist #264

HeitorBRaymundo opened this issue Aug 17, 2018 · 1 comment

Comments

@HeitorBRaymundo
Copy link

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;
}
@warriorpostman
Copy link

@HeitorBRaymundo @leandrowd The property swipeable now exists in the most recent version, so we can probably go ahead and close this issue yah?

leandrowd added a commit that referenced this issue Mar 26, 2019
Added swipeable in CarouselProps for Typescript, fixes #264
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants