Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- render() {
- const { title, message, showNotification } = this.props;
- const bottom = showNotification ? -80 : 0;
- return (
- <View style={[{ marginBottom: bottom }, styles.wrapper]}>
- <View style={styles.notificationContent}>
- <Text style={styles.title}>{title}</Text>
- <Text style={styles.messsage}>{message}</Text>
- </View>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement