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-11 20:37:33 +00:00
|
|
|
accessibilityLabel="general, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
isTVSelectable={true}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2018-03-02 21:31:44 +00:00
|
|
|
style={null}
|
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",
|
2018-02-16 18:34:25 +00:00
|
|
|
"borderBottomColor": "#ddd",
|
|
|
|
"borderBottomWidth": 0.5,
|
2017-12-20 15:57:33 +00:00
|
|
|
"flexDirection": "row",
|
|
|
|
"paddingHorizontal": 16,
|
2018-02-16 18:34:25 +00:00
|
|
|
"paddingVertical": 12,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
2017-12-08 19:13:21 +00:00
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"backgroundColor": "#00BCD4",
|
2018-04-24 19:34:03 +00:00
|
|
|
"borderRadius": 2,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"color": "#ffffff",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"fontSize": 28.75,
|
|
|
|
"fontWeight": "800",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
G
|
2017-12-20 15:57:33 +00:00
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
2017-12-08 19:13:21 +00:00
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": "100%",
|
2017-12-20 15:57:33 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
|
|
|
"flexDirection": "row",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"width": "100%",
|
|
|
|
}
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 15,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"marginRight": 5,
|
|
|
|
"marginTop": 3,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 18,
|
|
|
|
"marginRight": 8,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
general
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2018-03-02 15:11:34 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"color": "#888",
|
|
|
|
"fontSize": 10,
|
|
|
|
"justifyContent": "center",
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2018-02-16 18:34:25 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2018-05-29 17:09:20 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"flexDirection": "row",
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
}
|
2018-02-16 18:34:25 +00:00
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</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-11 20:37:33 +00:00
|
|
|
accessibilityLabel="name, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
isTVSelectable={true}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2018-03-02 21:31:44 +00:00
|
|
|
style={null}
|
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",
|
2018-02-16 18:34:25 +00:00
|
|
|
"borderBottomColor": "#ddd",
|
|
|
|
"borderBottomWidth": 0.5,
|
2017-12-20 15:57:33 +00:00
|
|
|
"flexDirection": "row",
|
|
|
|
"paddingHorizontal": 16,
|
2018-02-16 18:34:25 +00:00
|
|
|
"paddingVertical": 12,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"backgroundColor": "#3F51B5",
|
2018-04-24 19:34:03 +00:00
|
|
|
"borderRadius": 2,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
2017-12-08 19:13:21 +00:00
|
|
|
},
|
2017-12-08 19:36:03 +00:00
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"color": "#ffffff",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"fontSize": 28.75,
|
|
|
|
"fontWeight": "800",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
N
|
2017-12-20 15:57:33 +00:00
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
2017-12-08 19:13:21 +00:00
|
|
|
Object {
|
2017-12-08 19:36:03 +00:00
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": "100%",
|
2017-12-20 15:57:33 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
|
|
|
"flexDirection": "row",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"width": "100%",
|
|
|
|
}
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 15,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"marginRight": 5,
|
|
|
|
"marginTop": 3,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 18,
|
|
|
|
"marginRight": 8,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2018-03-02 15:11:34 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"color": "#888",
|
|
|
|
"fontSize": 10,
|
|
|
|
"justifyContent": "center",
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2018-02-16 18:34:25 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2018-05-29 17:09:20 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"flexDirection": "row",
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
}
|
2018-02-16 18:34:25 +00:00
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</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-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}
|
|
|
|
isTVSelectable={true}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2018-03-02 21:31:44 +00:00
|
|
|
style={null}
|
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",
|
2018-02-16 18:34:25 +00:00
|
|
|
"borderBottomColor": "#ddd",
|
|
|
|
"borderBottomWidth": 0.5,
|
2017-12-20 15:57:33 +00:00
|
|
|
"flexDirection": "row",
|
|
|
|
"paddingHorizontal": 16,
|
2018-02-16 18:34:25 +00:00
|
|
|
"paddingVertical": 12,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"backgroundColor": "#FF9800",
|
2018-04-24 19:34:03 +00:00
|
|
|
"borderRadius": 2,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"color": "#ffffff",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"fontSize": 28.75,
|
|
|
|
"fontWeight": "800",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
P
|
2017-12-20 15:57:33 +00:00
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": "100%",
|
2017-12-20 15:57:33 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
|
|
|
"flexDirection": "row",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"width": "100%",
|
|
|
|
}
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 15,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"marginRight": 5,
|
|
|
|
"marginTop": 3,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 18,
|
|
|
|
"marginRight": 8,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
private-group
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2018-03-02 15:11:34 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"color": "#888",
|
|
|
|
"fontSize": 10,
|
|
|
|
"justifyContent": "center",
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2018-02-16 18:34:25 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2018-05-29 17:09:20 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"flexDirection": "row",
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
}
|
2018-02-16 18:34:25 +00:00
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
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
|
|
|
|
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-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}
|
|
|
|
isTVSelectable={true}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2018-03-02 21:31:44 +00:00
|
|
|
style={null}
|
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",
|
2018-02-16 18:34:25 +00:00
|
|
|
"borderBottomColor": "#ddd",
|
|
|
|
"borderBottomWidth": 0.5,
|
2017-12-20 15:57:33 +00:00
|
|
|
"flexDirection": "row",
|
|
|
|
"paddingHorizontal": 16,
|
2018-02-16 18:34:25 +00:00
|
|
|
"paddingVertical": 12,
|
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-20 15:57:33 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"backgroundColor": "#3F51B5",
|
2018-04-24 19:34:03 +00:00
|
|
|
"borderRadius": 2,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
2017-12-20 15:57:33 +00:00
|
|
|
undefined,
|
2017-12-08 19:36:03 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"fontSize": 28.75,
|
|
|
|
"fontWeight": "800",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
N
|
2017-12-20 15:57:33 +00:00
|
|
|
</Text>
|
2018-05-07 20:41:36 +00:00
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"position": "absolute",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"borderRadius": 2,
|
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Object {
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<FastImageView
|
|
|
|
resizeMode="cover"
|
|
|
|
source={
|
|
|
|
Object {
|
|
|
|
"priority": "high",
|
2018-06-13 01:33:00 +00:00
|
|
|
"uri": "/avatar/name?random=0",
|
2018-05-07 20:41:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"bottom": 0,
|
|
|
|
"left": 0,
|
|
|
|
"position": "absolute",
|
|
|
|
"right": 0,
|
|
|
|
"top": 0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
</View>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"borderRadius": 16,
|
|
|
|
"height": 16,
|
|
|
|
"width": 16,
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"borderColor": "#fff",
|
|
|
|
"borderWidth": 3,
|
|
|
|
"bottom": -3,
|
|
|
|
"position": "absolute",
|
|
|
|
"right": -3,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
],
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"backgroundColor": "#cbced1",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
2017-12-20 15:57:33 +00:00
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": "100%",
|
2017-12-20 15:57:33 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
|
|
|
"flexDirection": "row",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"width": "100%",
|
|
|
|
}
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 15,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"marginRight": 5,
|
|
|
|
"marginTop": 3,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 18,
|
|
|
|
"marginRight": 8,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2018-03-02 15:11:34 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"color": "#888",
|
|
|
|
"fontSize": 10,
|
|
|
|
"justifyContent": "center",
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2018-02-16 18:34:25 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2018-05-29 17:09:20 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"flexDirection": "row",
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"backgroundColor": "#1d74f5",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 14,
|
|
|
|
"justifyContent": "center",
|
|
|
|
"minWidth": 25,
|
|
|
|
"overflow": "hidden",
|
|
|
|
"paddingHorizontal": 5,
|
|
|
|
"paddingVertical": 4,
|
|
|
|
"textAlign": "center",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
999+
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
</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-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}
|
|
|
|
isTVSelectable={true}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2018-03-02 21:31:44 +00:00
|
|
|
style={null}
|
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",
|
2018-02-16 18:34:25 +00:00
|
|
|
"borderBottomColor": "#ddd",
|
|
|
|
"borderBottomWidth": 0.5,
|
2017-12-20 15:57:33 +00:00
|
|
|
"flexDirection": "row",
|
|
|
|
"paddingHorizontal": 16,
|
2018-02-16 18:34:25 +00:00
|
|
|
"paddingVertical": 12,
|
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-20 15:57:33 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"backgroundColor": "#3F51B5",
|
2018-04-24 19:34:03 +00:00
|
|
|
"borderRadius": 2,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
2017-12-20 15:57:33 +00:00
|
|
|
undefined,
|
2017-12-08 19:36:03 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"fontSize": 28.75,
|
|
|
|
"fontWeight": "800",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
N
|
2017-12-20 15:57:33 +00:00
|
|
|
</Text>
|
2018-05-07 20:41:36 +00:00
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"position": "absolute",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"borderRadius": 2,
|
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Object {
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<FastImageView
|
|
|
|
resizeMode="cover"
|
|
|
|
source={
|
|
|
|
Object {
|
|
|
|
"priority": "high",
|
2018-06-13 01:33:00 +00:00
|
|
|
"uri": "/avatar/name?random=0",
|
2018-05-07 20:41:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"bottom": 0,
|
|
|
|
"left": 0,
|
|
|
|
"position": "absolute",
|
|
|
|
"right": 0,
|
|
|
|
"top": 0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
</View>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"borderRadius": 16,
|
|
|
|
"height": 16,
|
|
|
|
"width": 16,
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"borderColor": "#fff",
|
|
|
|
"borderWidth": 3,
|
|
|
|
"bottom": -3,
|
|
|
|
"position": "absolute",
|
|
|
|
"right": -3,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
],
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"backgroundColor": "#cbced1",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
2017-12-20 15:57:33 +00:00
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": "100%",
|
2017-12-20 15:57:33 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
|
|
|
}
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
|
|
|
"flexDirection": "row",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"width": "100%",
|
|
|
|
}
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 15,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"marginRight": 5,
|
|
|
|
"marginTop": 3,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 18,
|
|
|
|
"marginRight": 8,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2018-03-02 15:11:34 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"color": "#888",
|
|
|
|
"fontSize": 10,
|
|
|
|
"justifyContent": "center",
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2018-02-16 18:34:25 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2018-05-29 17:09:20 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"flexDirection": "row",
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"backgroundColor": "#1d74f5",
|
|
|
|
"borderRadius": 4,
|
|
|
|
"color": "#fff",
|
|
|
|
"fontSize": 14,
|
|
|
|
"justifyContent": "center",
|
|
|
|
"minWidth": 25,
|
|
|
|
"overflow": "hidden",
|
|
|
|
"paddingHorizontal": 5,
|
|
|
|
"paddingVertical": 4,
|
|
|
|
"textAlign": "center",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
|
|
|
1
|
|
|
|
</Text>
|
|
|
|
</View>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
</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-11 20:37:33 +00:00
|
|
|
accessibilityLabel="name, last message Nov 10"
|
|
|
|
accessibilityTraits="selected"
|
2017-12-08 19:36:03 +00:00
|
|
|
accessible={true}
|
|
|
|
isTVSelectable={true}
|
|
|
|
onResponderGrant={[Function]}
|
|
|
|
onResponderMove={[Function]}
|
|
|
|
onResponderRelease={[Function]}
|
|
|
|
onResponderTerminate={[Function]}
|
|
|
|
onResponderTerminationRequest={[Function]}
|
|
|
|
onStartShouldSetResponder={[Function]}
|
2018-03-02 21:31:44 +00:00
|
|
|
style={null}
|
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",
|
2018-02-16 18:34:25 +00:00
|
|
|
"borderBottomColor": "#ddd",
|
|
|
|
"borderBottomWidth": 0.5,
|
2017-12-20 15:57:33 +00:00
|
|
|
"flexDirection": "row",
|
|
|
|
"paddingHorizontal": 16,
|
2018-02-16 18:34:25 +00:00
|
|
|
"paddingVertical": 12,
|
2017-11-22 16:40:59 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2017-11-08 20:46:59 +00:00
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"justifyContent": "center",
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
Object {
|
2017-12-20 15:57:33 +00:00
|
|
|
"backgroundColor": "#3F51B5",
|
2018-04-24 19:34:03 +00:00
|
|
|
"borderRadius": 2,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
2017-12-08 19:36:03 +00:00
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2017-12-20 15:57:33 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#ffffff",
|
|
|
|
},
|
|
|
|
Object {
|
2018-05-18 18:43:04 +00:00
|
|
|
"fontSize": 28.75,
|
|
|
|
"fontWeight": "800",
|
2017-12-20 15:57:33 +00:00
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
N
|
2017-12-20 15:57:33 +00:00
|
|
|
</Text>
|
2018-05-07 20:41:36 +00:00
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"position": "absolute",
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"borderRadius": 2,
|
|
|
|
"height": 46,
|
|
|
|
"width": 46,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
Object {
|
|
|
|
"overflow": "hidden",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<FastImageView
|
|
|
|
resizeMode="cover"
|
|
|
|
source={
|
|
|
|
Object {
|
|
|
|
"priority": "high",
|
2018-06-13 01:33:00 +00:00
|
|
|
"uri": "/avatar/name?random=0",
|
2018-05-07 20:41:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"bottom": 0,
|
|
|
|
"left": 0,
|
|
|
|
"position": "absolute",
|
|
|
|
"right": 0,
|
|
|
|
"top": 0,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
/>
|
|
|
|
</View>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"borderRadius": 16,
|
|
|
|
"height": 16,
|
|
|
|
"width": 16,
|
|
|
|
},
|
2018-04-24 19:34:03 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"borderColor": "#fff",
|
|
|
|
"borderWidth": 3,
|
|
|
|
"bottom": -3,
|
|
|
|
"position": "absolute",
|
|
|
|
"right": -3,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
],
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"backgroundColor": "#cbced1",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
|
|
|
<View
|
2017-12-08 19:36:03 +00:00
|
|
|
style={
|
|
|
|
Object {
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"height": "100%",
|
2017-12-20 15:57:33 +00:00
|
|
|
"marginLeft": 16,
|
|
|
|
"marginRight": 4,
|
2017-12-08 19:36:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
>
|
2018-02-16 18:34:25 +00:00
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
2018-02-16 18:34:25 +00:00
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
|
|
|
"flexDirection": "row",
|
|
|
|
"justifyContent": "center",
|
|
|
|
"width": "100%",
|
|
|
|
}
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
>
|
2018-05-18 18:43:04 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={false}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": undefined,
|
|
|
|
"fontSize": 15,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"marginRight": 5,
|
|
|
|
"marginTop": 3,
|
|
|
|
},
|
|
|
|
Object {
|
|
|
|
"fontFamily": "Material Design Icons",
|
|
|
|
"fontStyle": "normal",
|
|
|
|
"fontWeight": "normal",
|
|
|
|
},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
|
|
|
|
</Text>
|
2018-02-16 18:34:25 +00:00
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"color": "#444",
|
|
|
|
"flex": 1,
|
|
|
|
"fontSize": 18,
|
|
|
|
"marginRight": 8,
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
|
|
|
}
|
|
|
|
>
|
|
|
|
name
|
|
|
|
</Text>
|
|
|
|
<Text
|
|
|
|
accessible={true}
|
|
|
|
allowFontScaling={true}
|
|
|
|
ellipsizeMode="tail"
|
|
|
|
numberOfLines={1}
|
|
|
|
style={
|
2018-03-02 15:11:34 +00:00
|
|
|
Array [
|
|
|
|
Object {
|
|
|
|
"alignItems": "center",
|
|
|
|
"color": "#888",
|
|
|
|
"fontSize": 10,
|
|
|
|
"justifyContent": "center",
|
|
|
|
},
|
|
|
|
undefined,
|
|
|
|
]
|
2018-02-16 18:34:25 +00:00
|
|
|
}
|
|
|
|
>
|
|
|
|
Nov 10
|
|
|
|
</Text>
|
|
|
|
</View>
|
|
|
|
<View
|
2017-12-20 15:57:33 +00:00
|
|
|
style={
|
|
|
|
Object {
|
2018-05-29 17:09:20 +00:00
|
|
|
"alignItems": "center",
|
|
|
|
"flex": 1,
|
2018-02-16 18:34:25 +00:00
|
|
|
"flexDirection": "row",
|
2017-12-20 15:57:33 +00:00
|
|
|
}
|
|
|
|
}
|
2018-02-16 18:34:25 +00:00
|
|
|
/>
|
2017-12-20 15:57:33 +00:00
|
|
|
</View>
|
2017-12-08 19:36:03 +00:00
|
|
|
</View>
|
2017-11-08 20:46:59 +00:00
|
|
|
</View>
|
2017-08-18 15:50:48 +00:00
|
|
|
</View>
|
|
|
|
`;
|