@hedia/recommendation-screen 2.1.61 → 2.1.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ const { ExitModalTestIds } = Testing.Id;
|
|
|
11
11
|
export default class ExitModal extends React.Component {
|
|
12
12
|
/** Compose a JSX element for displaying the modal. */
|
|
13
13
|
render() {
|
|
14
|
-
return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible}>
|
|
14
|
+
return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible} animationIn={`fadeIn`} animationOut={`fadeOut`}>
|
|
15
15
|
<StatusBar backgroundColor={colors.transparentLightBlue}/>
|
|
16
16
|
<View style={style.modalContainer}>
|
|
17
17
|
<TouchableOpacity onPress={this.props.onClose} testID={ExitModalTestIds.ExitButton} style={style.iconWrapper}>
|
|
@@ -129,7 +129,7 @@ export default class RecommendationModal extends React.Component {
|
|
|
129
129
|
render() {
|
|
130
130
|
const { isVisible } = this.props;
|
|
131
131
|
const { firstPageVisible } = this.state;
|
|
132
|
-
return (<ReactNativeModal isVisible={isVisible} style={stylesModal.modalStyle} backdropColor={colors.darkBlue} backdropOpacity={1}>
|
|
132
|
+
return (<ReactNativeModal isVisible={isVisible} style={stylesModal.modalStyle} backdropColor={colors.darkBlue} backdropOpacity={1} animationIn={`fadeIn`} animationOut={`fadeOut`}>
|
|
133
133
|
<ScrollView contentContainerStyle={stylesModal.scrollViewContainer}>
|
|
134
134
|
{firstPageVisible ? this.firstPage() : this.secondPage()}
|
|
135
135
|
</ScrollView>
|
|
@@ -10,7 +10,7 @@ const { TimeOutModalTestIds } = Testing.Id;
|
|
|
10
10
|
export default class TimeoutModal extends React.Component {
|
|
11
11
|
/** Compose a JSX element for displaying the modal. */
|
|
12
12
|
render() {
|
|
13
|
-
return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible}>
|
|
13
|
+
return (<ReactNativeModal style={style.container} isVisible={this.props.isVisible} animationIn={`fadeIn`} animationOut={`fadeOut`}>
|
|
14
14
|
<StatusBar backgroundColor={colors.transparentLightBlue}/>
|
|
15
15
|
<View style={style.modalContainer}>
|
|
16
16
|
<View style={style.textContainer}>
|