JSFiddle - React, Tailwind, and code Playground

by Rishabh Sharma

JavaScript

const data1 = {
  specialistId: '110',
  specialistName: 'Kinetic',
  agencyId: '111',
  agencyName: 'Hurst Media Agency',
  advertiserId: '112',
  advertiserName: 'Sefton Mbc',
  name: 'Campaign Test',
  contactId: 'CXDFR789210',
  contactName: 'Jon Snow',
  contactEmail: '[email protected]',
  brandId: 'DXDFR939210',
  brandName: 'Coca Cola',
  lineItems: {
    '0': {
      formatType: '04',
      quantity: 40,
      fromInchargeCycle: 20200727,
      toInchargeCycle: 20200727,
      price: 175,
      requestType: 'GD'
    },
    isMinimumPerStationRequired: false
  },
  deliveryInstructions: '',
  isTimeSensitive: false
}


const data2 = {
  specialistId: '110',
  specialistName: 'Kinetic',
  agencyId: '111',
  agencyName: 'Hurst Media Agency',
  advertiserId: '112',
  advertiserName: 'Sefton Mbc',
  name: 'Campaign Test',
  contactId: 'CXDFR789210',
  contactName: 'Jon Snow',
  contactEmail: '[email protected]',
  brandId: 'DXDFR939210',
  brandName: 'Coca Cola',
  deliveryInstructions: '',
  isTimeSensitive: false,
  lineItems: [{
    formatType: '04',
    quantity: 40,
    fromInchargeCycle: 20200727,
    toInchargeCycle: 20200727,
    price: 175,
    requestType: 'GD',
    isMinimumPerStationRequired: false
  }]
}