2017-08-18 15:50:48 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2017-08-22 01:43:29 +00:00
|
|
|
exports[`render channel 1`] = `
|
2017-12-08 19:36:03 +00:00
|
|
|
<View>
|
2017-11-08 20:46:59 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
accessibilityComponentType={undefined}
|
2017-12-11 20:37:33 +00:00
|
|
|
accessibilityLabel="general, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"opacity": 1,
|
2017-12-11 20:37:33 +00:00
|
|
|
"paddingHorizontal": 16,
|
|
|
|
"paddingVertical": 10,
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-22 01:43:29 +00:00
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
2017-11-22 16:40:59 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#00BCD4",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 12,
|
|
|
|
},
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2017-12-08 19:36:03 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2017-12-08 19:13:21 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
general
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2017-12-08 19:13:21 +00:00
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"color": "#888",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-12-08 19:13:21 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render no icon 1`] = `
|
|
|
|
<View>
|
2017-11-08 20:46:59 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
accessibilityComponentType={undefined}
|
2017-12-11 20:37:33 +00:00
|
|
|
accessibilityLabel="name, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"opacity": 1,
|
2017-12-11 20:37:33 +00:00
|
|
|
"paddingHorizontal": 16,
|
|
|
|
"paddingVertical": 10,
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-22 01:43:29 +00:00
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
2017-11-22 16:40:59 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#3F51B5",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 12,
|
|
|
|
},
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2017-12-08 19:36:03 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2017-12-08 19:13:21 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2017-12-08 19:13:21 +00:00
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"color": "#888",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-12-08 19:13:21 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render private group 1`] = `
|
|
|
|
<View>
|
2017-11-08 20:46:59 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
accessibilityComponentType={undefined}
|
2017-12-11 20:37:33 +00:00
|
|
|
accessibilityLabel="private-group, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"opacity": 1,
|
2017-12-11 20:37:33 +00:00
|
|
|
"paddingHorizontal": 16,
|
|
|
|
"paddingVertical": 10,
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-22 01:43:29 +00:00
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
2017-11-22 16:40:59 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#FF9800",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 12,
|
|
|
|
},
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2017-12-08 19:36:03 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
private-group
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#888",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
|
2017-08-22 01:43:29 +00:00
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render unread +999 1`] = `
|
2017-12-08 19:36:03 +00:00
|
|
|
<View>
|
2017-08-22 01:43:29 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
accessibilityComponentType={undefined}
|
2017-12-11 20:37:33 +00:00
|
|
|
accessibilityLabel="name, 1000 alerts, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
2017-12-08 19:36:03 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"opacity": 1,
|
2017-12-11 20:37:33 +00:00
|
|
|
"paddingHorizontal": 16,
|
|
|
|
"paddingVertical": 10,
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-22 01:43:29 +00:00
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<View
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
2017-09-01 19:42:50 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"backgroundColor": "#3F51B5",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
undefined,
|
2017-09-01 19:42:50 +00:00
|
|
|
]
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
2017-12-11 20:37:33 +00:00
|
|
|
allowFontScaling={false}
|
2017-12-08 19:36:03 +00:00
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
NA
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
2017-12-08 19:36:03 +00:00
|
|
|
Object {
|
|
|
|
"flex": 1,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#888",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"backgroundColor": "#1d74f5",
|
|
|
|
"borderRadius": 3,
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 14,
|
|
|
|
"minWidth": 20,
|
|
|
|
"overflow": "hidden",
|
|
|
|
"paddingHorizontal": 5,
|
|
|
|
"paddingVertical": 2,
|
|
|
|
"textAlign": "center",
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
999+
|
2017-11-08 20:46:59 +00:00
|
|
|
</Text>
|
|
|
|
</View>
|
2017-08-22 01:43:29 +00:00
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`render unread 1`] = `
|
2017-12-08 19:36:03 +00:00
|
|
|
<View>
|
2017-08-22 01:43:29 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
accessibilityComponentType={undefined}
|
2017-12-11 20:37:33 +00:00
|
|
|
accessibilityLabel="name, 1 alert, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
2017-12-08 19:36:03 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"opacity": 1,
|
2017-12-11 20:37:33 +00:00
|
|
|
"paddingHorizontal": 16,
|
|
|
|
"paddingVertical": 10,
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-22 01:43:29 +00:00
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<View
|
2017-08-22 01:43:29 +00:00
|
|
|
style={
|
2017-09-01 19:42:50 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"backgroundColor": "#3F51B5",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-09-01 19:42:50 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
undefined,
|
2017-09-01 19:42:50 +00:00
|
|
|
]
|
2017-08-22 01:43:29 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
2017-12-11 20:37:33 +00:00
|
|
|
allowFontScaling={false}
|
2017-12-08 19:36:03 +00:00
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
NA
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
2017-12-08 19:36:03 +00:00
|
|
|
Object {
|
|
|
|
"flex": 1,
|
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#888",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"backgroundColor": "#1d74f5",
|
|
|
|
"borderRadius": 3,
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 14,
|
|
|
|
"minWidth": 20,
|
|
|
|
"overflow": "hidden",
|
|
|
|
"paddingHorizontal": 5,
|
|
|
|
"paddingVertical": 2,
|
|
|
|
"textAlign": "center",
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
1
|
2017-11-08 20:46:59 +00:00
|
|
|
</Text>
|
|
|
|
</View>
|
2017-08-22 01:43:29 +00:00
|
|
|
</View>
|
|
|
|
`;
|
|
|
|
|
2017-08-18 15:50:48 +00:00
|
|
|
exports[`renders correctly 1`] = `
|
2017-12-08 19:36:03 +00:00
|
|
|
<View>
|
2017-11-08 20:46:59 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
accessibilityComponentType={undefined}
|
2017-12-11 20:37:33 +00:00
|
|
|
accessibilityLabel="name, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
collapsable={undefined}
|
|
|
|
hitSlop={undefined}
|
|
|
|
isTVSelectable={true}
|
|
|
|
nativeID={undefined}
|
|
|
|
onLayout={undefined}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2017-08-18 15:50:48 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flexDirection": "row",
|
|
|
|
"opacity": 1,
|
2017-12-11 20:37:33 +00:00
|
|
|
"paddingHorizontal": 16,
|
|
|
|
"paddingVertical": 10,
|
2017-08-18 15:50:48 +00:00
|
|
|
}
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
testID={undefined}
|
|
|
|
tvParallaxProperties={undefined}
|
2017-08-18 15:50:48 +00:00
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
2017-11-22 16:40:59 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"backgroundColor": "#3F51B5",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"height": 40,
|
|
|
|
"width": 40,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
2017-12-11 20:37:33 +00:00
|
|
|
allowFontScaling={false}
|
2017-12-08 19:36:03 +00:00
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontSize": 20,
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
NA
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-11-08 20:46:59 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2017-12-08 19:36:03 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2017-12-08 19:36:03 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 16,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"color": "#888",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 10,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
</View>
|
2017-08-18 15:50:48 +00:00
|
|
|
</View>
|
|
|
|
`;
|