Are you first timer at Why not join us and start exchange your programming knowledge with everyone. Register today!

JS - render contents and variable declaration for React & Next S

0 votes
added Mar 6 in ES6 by LC Marshal Captain (20,510 points)
// Next use export default for rendering
import React from 'react';  

const title = 'Tiara Heights';

export default () => (
  <div className="detail-similar-properties">
    <h1>Similar Properties</h1>
    <div className="row">
      <div className="col-md-4">
        <div><img src={similarImg} /></div>
        <div>{district}, {state} </div>

// React


Please log in or register to response this reference. - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.