React - variable for data

0 votes
194 views
added Mar 5, 2019 in React by LC Marshal Captain (25,770 points)
const listingType = ColumnMainData.result.field_prop_listing_type.und['0'].value;

 

1 Response

0 votes
responded May 16, 2019 by LC Marshal Captain (25,770 points)
const listingYeah = `/buy?${queryProjectNm}${queryCat}${queryStt}${queryArea}${queryPropType}`;

 

Usage

<a href={listingYeah} className="btn"><b>Search for places</b></a>

 

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...