mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-05-07 00:52:04 +08:00
145 lines
3.3 KiB
Plaintext
145 lines
3.3 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`TabBarBottom renders successfully 1`] = `
|
|
<View
|
|
collapsable={false}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"flex": 1,
|
|
"overflow": "hidden",
|
|
},
|
|
Object {
|
|
"flex": 1,
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<View
|
|
onLayout={[Function]}
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
>
|
|
<RCTScrollView
|
|
DEPRECATED_sendUpdatedChildFrames={false}
|
|
alwaysBounceHorizontal={false}
|
|
alwaysBounceVertical={false}
|
|
automaticallyAdjustContentInsets={false}
|
|
bounces={false}
|
|
contentContainerStyle={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
contentOffset={
|
|
Object {
|
|
"x": 0,
|
|
"y": 0,
|
|
}
|
|
}
|
|
directionalLockEnabled={true}
|
|
horizontal={true}
|
|
keyboardDismissMode="on-drag"
|
|
keyboardShouldPersistTaps="always"
|
|
onContentSizeChange={null}
|
|
onMomentumScrollBegin={[Function]}
|
|
onMomentumScrollEnd={[Function]}
|
|
onResponderGrant={[Function]}
|
|
onResponderReject={[Function]}
|
|
onResponderRelease={[Function]}
|
|
onResponderTerminate={undefined}
|
|
onResponderTerminationRequest={[Function]}
|
|
onScroll={[Function]}
|
|
onScrollBeginDrag={[Function]}
|
|
onScrollEndDrag={[Function]}
|
|
onScrollShouldSetResponder={[Function]}
|
|
onStartShouldSetResponder={[Function]}
|
|
onStartShouldSetResponderCapture={[Function]}
|
|
onTouchCancel={[Function]}
|
|
onTouchEnd={[Function]}
|
|
onTouchMove={[Function]}
|
|
onTouchStart={[Function]}
|
|
overScrollMode="never"
|
|
pagingEnabled={true}
|
|
scrollEnabled={undefined}
|
|
scrollEventThrottle={1}
|
|
scrollsToTop={false}
|
|
sendMomentumEvents={true}
|
|
showsHorizontalScrollIndicator={false}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"flexDirection": "row",
|
|
"flexGrow": 1,
|
|
"flexShrink": 1,
|
|
"overflow": "scroll",
|
|
},
|
|
Object {
|
|
"flex": 1,
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<RCTScrollContentView
|
|
collapsable={false}
|
|
removeClippedSubviews={undefined}
|
|
style={
|
|
Array [
|
|
Object {
|
|
"flexDirection": "row",
|
|
},
|
|
Object {
|
|
"flex": 1,
|
|
},
|
|
]
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
"overflow": "hidden",
|
|
}
|
|
}
|
|
testID={undefined}
|
|
>
|
|
<View
|
|
collapsable={false}
|
|
removeClippedSubviews={false}
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
"overflow": "hidden",
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
style={
|
|
Object {
|
|
"flex": 1,
|
|
}
|
|
}
|
|
>
|
|
<View
|
|
navigation={
|
|
Object {
|
|
"state": Object {
|
|
"key": "s1",
|
|
"routeName": "s1",
|
|
},
|
|
}
|
|
}
|
|
screenProps={undefined}
|
|
/>
|
|
</View>
|
|
</View>
|
|
</View>
|
|
</RCTScrollContentView>
|
|
</RCTScrollView>
|
|
</View>
|
|
</View>
|
|
`;
|