MCPcopy
hub / github.com/callstack/react-native-pager-view / NativeProps

Interface NativeProps

src/PagerViewNativeComponent.ts:26–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}>;
25
26export interface NativeProps extends ViewProps {
27 scrollEnabled?: WithDefault<boolean, true>;
28 layoutDirection?: WithDefault<'ltr' | 'rtl', 'ltr'>;
29 initialPage?: Int32;
30 orientation?: WithDefault<'horizontal' | 'vertical', 'horizontal'>;
31 offscreenPageLimit?: Int32;
32 pageMargin?: Int32;
33 overScrollMode?: WithDefault<'auto' | 'always' | 'never', 'auto'>;
34 overdrag?: WithDefault<boolean, false>;
35 keyboardDismissMode?: WithDefault<'none' | 'on-drag', 'none'>;
36 onPageScroll?: DirectEventHandler<OnPageScrollEventData>;
37 onPageSelected?: DirectEventHandler<OnPageSelectedEventData>;
38 onPageScrollStateChanged?: DirectEventHandler<OnPageScrollStateChangedEventData>;
39}
40
41type PagerViewViewType = HostComponent<NativeProps>;
42

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…