Guest User

Untitled

a guest
Sep 16th, 2019
91
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. render() {
  2. const { title, message, showNotification } = this.props;
  3. const bottom = showNotification ? -80 : 0;
  4. return (
  5. <View style={[{ marginBottom: bottom }, styles.wrapper]}>
  6. <View style={styles.notificationContent}>
  7. <Text style={styles.title}>{title}</Text>
  8. <Text style={styles.messsage}>{message}</Text>
  9. </View>
RAW Paste Data