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

Interface NativeCommands

src/PagerViewNativeComponent.ts:43–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41type PagerViewViewType = HostComponent<NativeProps>;
42
43export interface NativeCommands {
44 setPage: (
45 viewRef: React.ElementRef<PagerViewViewType>,
46 selectedPage: Int32
47 ) => void;
48 setPageWithoutAnimation: (
49 viewRef: React.ElementRef<PagerViewViewType>,
50 selectedPage: Int32
51 ) => void;
52 setScrollEnabledImperatively: (
53 viewRef: React.ElementRef<PagerViewViewType>,
54 scrollEnabled: boolean
55 ) => void;
56}
57
58export const Commands: NativeCommands = codegenNativeCommands<NativeCommands>({
59 supportedCommands: [

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…