// Add Actions - replace 'Your' with whatever your reducer is called :)
// import YourActions from '../Redux/YourRedux'
...
...
@@ -9,6 +9,9 @@ import styles from './Styles/ChatScreenStyle'
importBaseHeaderfrom'../Components/BaseHeader'
importBaseTextfrom'../Components/BaseText'
import{Images}from'../Themes'
import{formatRp}from'../Lib/Utils'
importConstantfrom'../Lib/Constant'
importBaseButtonfrom'../Components/BaseButton'
classChatScreenextendsComponent{
constructor(props){
...
...
@@ -16,48 +19,110 @@ class ChatScreen extends Component {
this.state={
chatDummy:[
{
tanggal:"Thursday, 09 July 2020",
data:[
{image:Images.jaket,isi:"",jam:'08:00 AM',status:'read',sender:1,imageName:"88Rising x Guess Hooded Sweatshirt",itemHarga:2400000},
{image:null,isi:"Apakah produk 88Rising x Guess Hooded Sweatshirt size L ready?",jam:'08:00 AM',status:'read',sender:1,imageName:"",itemHarga:0},
{image:null,isi:"Selamat pagi, untuk produk tersebut stock masih tersedia, silahkan melakukan order",jam:'08:02 AM',status:'read',sender:0,imageName:"",itemHarga:0}
],
},
{
tanggal:"Today",
data:[
{isi:"Apakah produk sudah dikirm?",jam:'08:00 AM',status:'read',sender:1},
{isi:"Selamat pagi, untuk produk tersebut stock masih tersedia, silahkan melakukan order",jam:'08:02 AM',status:'read',sender:0}
{image:Images.jaket,isi:"Apakah produk sudah dikirim?",jam:'09:00 AM',status:'read',sender:1,imageName:"",itemHarga:0,noOrder:12345,statusOrder:'PESANAN DIKIRIM',total:2400000},
{image:null,isi:"Apakah produk sudah dikirim?",jam:'09:00 AM',status:'read',sender:1,imageName:"",itemHarga:0,noOrder:null,statusOrder:null},
{image:null,isi:"Selamat pagi, untuk produk tersebut stock masih tersedia, silahkan melakukan order",jam:'09:02 AM',status:'read',sender:0,imageName:"",itemHarga:0,noOrder:null,statusOrder:null}