mattermost-mobile/app/screens/permalink/__snapshots__/permalink.test.js.snap
Mattermost Build 8899c586ab
MM-30164 fix safe area insets (#4979) (#4984)
* MM-30164 fix safe area insets

* Fix unit test setup mock for react-native-device-info

* Add insets for edit profile screen

* Fix about screen

* Fix theme screen

* Lock phone screen to portrait

* fix unit tests

* Fix autocomplete layout

(cherry picked from commit dcaaaee44c)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-11-23 21:24:06 -03:00

146 lines
2.9 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Permalink should match snapshot 1`] = `
<Connect(SafeArea)
backgroundColor="transparent"
excludeHeader={true}
footerColor="transparent"
>
<View
style={
Object {
"flex": 1,
"marginTop": 20,
}
}
>
<withAnimatable(View)
animation="zoomIn"
delay={0}
direction="normal"
duration={200}
iterationCount={1}
iterationDelay={0}
onAnimationBegin={[Function]}
onAnimationEnd={[Function]}
onTransitionBegin={[Function]}
onTransitionEnd={[Function]}
style={
Object {
"backgroundColor": "#ffffff",
"borderRadius": 6,
"flex": 1,
"margin": 10,
"opacity": 0,
}
}
useNativeDriver={true}
>
<View
style={
Object {
"alignItems": "center",
"borderTopLeftRadius": 6,
"borderTopRightRadius": 6,
"flexDirection": "row",
"height": 44,
"paddingRight": 16,
"width": "100%",
}
}
>
<ForwardRef
onPress={[Function]}
style={
Object {
"height": 44,
"justifyContent": "center",
"paddingLeft": 7,
"width": 40,
}
}
>
<CompassIcon
color="#3d3c40"
name="close"
size={20}
/>
</ForwardRef>
<View
style={
Object {
"alignItems": "center",
"flex": 1,
"paddingRight": 40,
}
}
>
<Text
ellipsizeMode="tail"
numberOfLines={1}
style={
Object {
"color": "#3d3c40",
"fontSize": 17,
"fontWeight": "600",
}
}
>
channel_name
</Text>
</View>
</View>
<View
style={
Object {
"backgroundColor": "#ffffff",
}
}
>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
</View>
<View
style={
Array [
Object {
"flex": 1,
},
null,
]
}
>
<Loading
color="#3d3c40"
size="large"
style={Object {}}
/>
</View>
</withAnimatable(View)>
</View>
</Connect(SafeArea)>
`;
exports[`Permalink should match snapshot 2`] = `
<Text>
<CompassIcon
name="archive-outline"
style={
Array [
Object {
"color": "#3d3c40",
"fontSize": 16,
"paddingRight": 20,
},
]
}
/>
</Text>
`;