JSFiddle - React, Tailwind, and code Playground
by Artem
JavaScript
const defaultInitialState = {
header: [{
name: "lot_no",
sortLink: "/bloodstock/sales/my-shortlist/data.json?sort=lot_no",
sortOrder: 1
}],
rows: [{
buyer_detail: "Vendor",
catalogue_pedigree_pdf_url: null,
dam_style_name: "Soul Mate",
dam_uid: 554906,
entered: false,
horse_age: 5,
horse_first_colour_code: "B",
horse_sex: "M",
horse_style_name: "Nun's Cross",
horse_uid: 1364017,
lot_letter: " ",
lot_no: 1,
price: 50000,
price_styled_long: "GBP 50.000",
price_styled_short: "GBP 50k",
sale_date: "2017-03-16T00:00:00+00:00",
sale_name: "Tattersalls Ireland Cheltenham Festival Sale 2017",
seller_name: "Mrs E.J O'Grady from Killeens Stables (E J O'Grady)",
sire_of_dam_style_name: "Phardante",
sire_of_dam_uid: 304298,
sire_style_name: "Kalanisi",
sire_uid: 480864,
venue_uid: 59
}],
selectedRows: [],
meta: {
currencies: []
},
requestId: 0,
loading: false,
failure: false,
initialized: false
};