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

122 lines
2.7 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`user_profile should match snapshot 1`] = `
<View
style={
Object {
"flex": 1,
}
}
>
<Connect(StatusBar) />
<ScrollView
style={
Object {
"backgroundColor": "#ffffff",
"flex": 1,
}
}
>
<View
style={
Object {
"alignItems": "center",
"justifyContent": "center",
"padding": 25,
}
}
>
<Connect(ProfilePicture)
size={150}
statusBorderWidth={6}
statusSize={40}
userId="4hzdnk6mg7gepe7yze6m3domnc"
/>
<Text
style={
Object {
"color": "#3d3c40",
"fontSize": 15,
"marginTop": 15,
}
}
>
@undefined
</Text>
</View>
<View
style={
Object {
"marginBottom": 25,
"marginHorizontal": 15,
}
}
>
<View>
<Text
style={
Object {
"color": undefined,
"fontSize": 13,
"fontWeight": "600",
"marginBottom": 10,
"marginTop": 25,
}
}
>
NICKNAME
</Text>
<Text
style={
Object {
"color": "#3d3c40",
"fontSize": 15,
}
}
>
nick
</Text>
</View>
</View>
<userProfileRow
action={[Function]}
defaultMessage="Send Message"
icon="paper-plane-o"
iconColor="rgba(0, 0, 0, 0.7)"
iconSize={15}
iconType="fontawesome"
textColor="#000"
textId="mobile.routes.user_profile.send_message"
theme={
Object {
"awayIndicator": "#ffbc42",
"buttonBg": "#166de0",
"buttonColor": "#ffffff",
"centerChannelBg": "#ffffff",
"centerChannelColor": "#3d3c40",
"codeTheme": "github",
"dndIndicator": "#f74343",
"errorTextColor": "#fd5960",
"linkColor": "#2389d7",
"mentionBj": "#ffffff",
"mentionColor": "#145dbf",
"mentionHighlightBg": "#ffe577",
"mentionHighlightLink": "#166de0",
"newMessageSeparator": "#ff8800",
"onlineIndicator": "#06d6a0",
"sidebarBg": "#145dbf",
"sidebarHeaderBg": "#1153ab",
"sidebarHeaderTextColor": "#ffffff",
"sidebarText": "#ffffff",
"sidebarTextActiveBorder": "#579eff",
"sidebarTextActiveColor": "#ffffff",
"sidebarTextHoverBg": "#4578bf",
"sidebarUnreadText": "#ffffff",
"type": "Mattermost",
}
}
togglable={false}
/>
</ScrollView>
</View>
`;