mattermost-mobile/app/screens/permalink/__snapshots__/permalink.test.js.snap
2018-11-18 17:54:06 -03:00

152 lines
3.1 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Permalink should match snapshot 1`] = `
<Connect(SafeAreaIos)
backgroundColor="transparent"
excludeHeader={true}
footerColor="transparent"
forceTop={44}
>
<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 {
"borderRadius": 6,
"flex": 1,
"margin": 10,
"opacity": 0,
}
}
useNativeDriver={true}
>
<View
style={
Object {
"alignItems": "center",
"backgroundColor": "#ffffff",
"borderTopLeftRadius": 6,
"borderTopRightRadius": 6,
"flexDirection": "row",
"height": 44,
"paddingRight": 16,
"width": "100%",
}
}
>
<TouchableOpacity
activeOpacity={0.2}
onPress={[Function]}
style={
Object {
"height": 44,
"justifyContent": "center",
"paddingLeft": 7,
"width": 40,
}
}
>
<Icon
allowFontScaling={false}
color="#3d3c40"
name="close"
size={20}
/>
</TouchableOpacity>
<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 {
"backgroundColor": "#ffffff",
"flex": 1,
},
null,
]
}
>
<Loading
color="grey"
size="large"
style={Object {}}
/>
</View>
</withAnimatable(View)>
</View>
</Connect(SafeAreaIos)>
`;
exports[`Permalink should match snapshot 2`] = `
<Text>
<Icon
allowFontScaling={false}
name="archive"
size={12}
style={
Array [
Object {
"color": "#3d3c40",
"fontSize": 16,
"paddingRight": 20,
},
]
}
/>
</Text>
`;