mattermost-mobile/app/screens/interactive_dialog/__snapshots__/interactive_dialog.test.js.snap
Theo Gkourasas 30f91a3814 MM-15219 Added support for introduction text in interactive dialogs (#3222)
* MM-15219 Added support for optional introduction text in interactive dialogs

* Fixed margins in introduction text for interactive dialogs

* Created DialogIntroductionText component to render the introduction text.  Changed text color

* Changed DialogIntroductionText component to only render if a value is supplied
2019-09-16 09:22:59 -07:00

53 lines
1.4 KiB
Text

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`InteractiveDialog should display introduction text if present 1`] = `
<View
style={
Object {
"backgroundColor": "rgba(61,60,64,0.03)",
}
}
>
<ScrollViewMock
style={
Object {
"marginBottom": 20,
"marginTop": 10,
}
}
>
<Connect(StatusBar) />
<DialogIntroductionText
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",
}
}
value="**Some** _introduction_ text"
/>
</ScrollViewMock>
</View>
`;