MCPcopy
hub / github.com/ptomasroos/react-native-scrollable-tab-view / getDefaultProps

Function getDefaultProps

index.js:55–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

53 },
54
55 getDefaultProps() {
56 return {
57 tabBarPosition: 'top',
58 initialPage: 0,
59 page: -1,
60 onChangeTab: () => {},
61 onScroll: () => {},
62 contentProps: {},
63 scrollWithoutAnimation: false,
64 locked: false,
65 prerenderingSiblingsNumber: 0,
66 };
67 },
68
69 getInitialState() {
70 const containerWidth = Dimensions.get('window').width;

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…