-
Notifications
You must be signed in to change notification settings - Fork 49
Description
While using: react-native-simple-modal
My Code: to just say ok and close
<Modal
open={this.state.showErrorDialog}
closeOnTouchOutside={false}
style={{ alignItems: "center" }}
modalStyle={{
borderRadius: 10,
backgroundColor: "#F5F5F5"
}}>
<View style={{ padding: 10 }}>
{alertTitle}
<View style={{ paddingLeft: 10, paddingRight: 10, paddingBottom: 10 }}>
{alertBody}
<View style={{ flex: 1 }} />
<PaperButton
onPress={() => { this._closeErrorDialog() }}
mode="contained"
color={colors.pri}
style={[styles.alertBtn]}>
<Text style={{
fontFamily: 'Nunito-Bold',
color: colors.white,
justifyContent: 'center', alignItems: 'center'
}}>
okay
Getting Error
backend.js:12688 Animated: useNativeDriver was not specified. This is a required option and must be explicitly set to true or false
Please Guide me for the same