mattermost-mobile/app/components/sidebars/settings/__snapshots__/drawer_item.test.js.snap
2021-06-04 08:54:31 -04:00

174 lines
3.5 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`DrawerItem should match snapshot 1`] = `
<ForwardRef
onPress={[MockFunction]}
testID="test-id"
>
<View
style={
Object {
"backgroundColor": "#ffffff",
"flexDirection": "row",
"minHeight": 50,
}
}
>
<View
style={
Object {
"alignItems": "center",
"height": 50,
"justifyContent": "center",
"marginLeft": 5,
"width": 45,
}
}
>
<CompassIcon
name="icon-name"
style={
Array [
Object {
"color": "rgba(61,60,64,0.64)",
"fontSize": 24,
},
Object {
"color": "#fd5960",
},
]
}
/>
</View>
<View
style={
Object {
"flex": 1,
}
}
>
<View
style={
Object {
"flex": 1,
"justifyContent": "center",
"paddingBottom": 14,
"paddingTop": 14,
}
}
>
<InjectIntl(FormattedText)
defaultMessage="default message"
id="i18-id"
style={
Array [
Object {
"color": "rgba(61,60,64,0.5)",
"fontSize": 17,
"includeFontPadding": false,
"textAlignVertical": "center",
},
Object {
"color": "#fd5960",
},
Object {
"textAlign": "center",
"textAlignVertical": "center",
},
]
}
/>
</View>
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.2)",
"height": 1,
}
}
/>
</View>
</View>
</ForwardRef>
`;
exports[`DrawerItem should match snapshot without separator and centered false 1`] = `
<ForwardRef
onPress={[MockFunction]}
testID="test-id"
>
<View
style={
Object {
"backgroundColor": "#ffffff",
"flexDirection": "row",
"minHeight": 50,
}
}
>
<View
style={
Object {
"alignItems": "center",
"height": 50,
"justifyContent": "center",
"marginLeft": 5,
"width": 45,
}
}
>
<CompassIcon
name="icon-name"
style={
Array [
Object {
"color": "rgba(61,60,64,0.64)",
"fontSize": 24,
},
Object {
"color": "#fd5960",
},
]
}
/>
</View>
<View
style={
Object {
"flex": 1,
}
}
>
<View
style={
Object {
"flex": 1,
"justifyContent": "center",
"paddingBottom": 14,
"paddingTop": 14,
}
}
>
<InjectIntl(FormattedText)
defaultMessage="default message"
id="i18-id"
style={
Array [
Object {
"color": "rgba(61,60,64,0.5)",
"fontSize": 17,
"includeFontPadding": false,
"textAlignVertical": "center",
},
Object {
"color": "#fd5960",
},
Object {},
]
}
/>
</View>
</View>
</View>
</ForwardRef>
`;