robcalcroft / react-native-in-app-notification

:bell: Customisable in-app notification component for React Native

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image prop

graig12 opened this issue · comments

This is not a issue per say but how can i add image to shownotifcation.
i have the follow code below however the image is not showing
this.props.showNotification({
title: 'Update Received!',
message: data.message,
onPress: () => this.props.navigation.navigate('update',{messagedata:data.message}),
icon: <Image source={{uri:'ttps://facebook.github.io/react-native/docs/assets/favicon.png'}} />
});