// Add Actions - replace 'Your' with whatever your reducer is called :)
// Add Actions - replace 'Your' with whatever your reducer is called :)
// import YourActions from '../Redux/YourRedux'
// import YourActions from '../Redux/YourRedux'
...
@@ -9,6 +9,8 @@ import styles from './Styles/NotificationScreenStyle'
...
@@ -9,6 +9,8 @@ import styles from './Styles/NotificationScreenStyle'
import{Images}from'../Themes'
import{Images}from'../Themes'
importBaseTextfrom'../Components/BaseText'
importBaseTextfrom'../Components/BaseText'
importBaseHeaderfrom'../Components/BaseHeader'
importBaseHeaderfrom'../Components/BaseHeader'
importApifrom'../Services/Api'
importHTMLfrom'react-native-render-html';
classNotificationScreenextendsComponent{
classNotificationScreenextendsComponent{
constructor(props){
constructor(props){
...
@@ -18,7 +20,8 @@ class NotificationScreen extends Component {
...
@@ -18,7 +20,8 @@ class NotificationScreen extends Component {
{judul:'Selamat! transaksi Anda berhasil!',isi:'Transaksi Anda dengan nomor order 12345 telah berhasil. Silahkan cek untuk mengetahui riwayat pesanan Anda.'},
{judul:'Selamat! transaksi Anda berhasil!',isi:'Transaksi Anda dengan nomor order 12345 telah berhasil. Silahkan cek untuk mengetahui riwayat pesanan Anda.'},
{judul:'Transaksi Anda gagal',isi:'Transaksi Anda dengan nomor order 54321 gagal. Silahkan melakukan transaksi kembali atau hubungi…'},
{judul:'Transaksi Anda gagal',isi:'Transaksi Anda dengan nomor order 54321 gagal. Silahkan melakukan transaksi kembali atau hubungi…'},
{judul:'Chat',isi:'Anda mendapatkan sebuah pesan untuk produk 88Rising x Guess Hooded Sweatshirt, silahkan lihat pada halama…'},
{judul:'Chat',isi:'Anda mendapatkan sebuah pesan untuk produk 88Rising x Guess Hooded Sweatshirt, silahkan lihat pada halama…'},
]
],
listNotif:[]
}
}
}
}
backAction=()=>{
backAction=()=>{
...
@@ -35,32 +38,58 @@ class NotificationScreen extends Component {
...
@@ -35,32 +38,58 @@ class NotificationScreen extends Component {