Skip to content

Commit 7e07e38

Browse files
authored
fix(example): Fix BasicExample to work with RTL (#928)
1 parent 48730f4 commit 7e07e38

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

example/src/BasicPagerViewExample.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,12 @@ export function BasicPagerViewExample() {
1515
return (
1616
<SafeAreaView style={styles.container}>
1717
<AnimatedPagerView
18-
// @ts-ignore
18+
{...navigationPanel}
1919
testID="pager-view"
2020
ref={ref}
2121
style={styles.PagerView}
2222
initialPage={0}
23-
layoutDirection="ltr"
24-
overdrag={navigationPanel.overdragEnabled}
25-
scrollEnabled={navigationPanel.scrollEnabled}
26-
onPageScroll={navigationPanel.onPageScroll}
27-
onPageSelected={navigationPanel.onPageSelected}
28-
onPageScrollStateChanged={navigationPanel.onPageScrollStateChanged}
2923
pageMargin={10}
30-
// Lib does not support dynamically orientation change
31-
orientation="horizontal"
3224
>
3325
{useMemo(
3426
() =>

0 commit comments

Comments
 (0)