Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
update definitions
  • Loading branch information
zkrige authored Feb 18, 2021
1 parent b6b1b29 commit 2a38f7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare module 'rn-viewpager' {
keyboardDismissMode?: 'none' | 'on-drag';
onPageScroll?(e: ViewPagerAndroidOnPageScrollEventData): void;
onPageScrollStateChanged?(state: 'idle' | 'settling' | 'dragging'): void;
onPageSelected?(e: ViewPagerAndroidOnPageScrollEventData): void;
onPageSelected?(e: ViewPagerAndroidOnPageSelectedEventData): void;
scrollEnabled?: boolean;
}

Expand All @@ -17,7 +17,7 @@ declare module 'rn-viewpager' {
setPageWithoutAnimation(selectedPage: number): void;
}

interface IndicatorViewPagerProps extends ViewProperties {
interface IndicatorViewPagerProps extends ViewPagerProps {
indicator: React.ReactNode;
pagerStyle?: ViewProperties['style'];
autoPlayEnable?: boolean;
Expand Down

0 comments on commit 2a38f7e

Please sign in to comment.