mattermost-mobile/app/components/__snapshots__/badge.test.js.snap
Sudheer c2bcb0e2de MM-13525 Fix alignment of jewel on channel drawer icon (#2473)
* MM-13525 Fix alignement of jewel on channel drawer icon
Fix position of dot
Fix snapshot
Change unread indicator to be View instead of . text

* Fix position of dot for unread indicator in badge

* Update snapshot
2019-01-28 12:52:05 -03:00

56 lines
976 B
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Badge should match snapshot 1`] = `
<View
style={
Array [
Object {
"backgroundColor": "#444",
"borderRadius": 20,
"height": 20,
"padding": 12,
"paddingBottom": 3,
"paddingTop": 3,
"position": "absolute",
"right": 30,
"top": 2,
},
Object {
"backgroundColor": "#ffffff",
},
Object {
"opacity": 0,
},
]
}
>
<View
style={
Object {
"alignItems": "center",
"flex": 1,
"justifyContent": "center",
"marginBottom": -1,
}
}
>
<Text
onLayout={[Function]}
style={
Array [
Object {
"color": "white",
"fontSize": 14,
},
Object {
"color": "#145dbf",
"fontSize": 10,
},
]
}
>
1
</Text>
</View>
</View>
`;