score:2

Accepted answer
class PerfumeSearchResults extends React.Component{
    render(){
        return(
            <div>
                <span>{this.props.value.perfumeName}</span>
                <span>{this.props.value.perfumeId}</span>
                <span>{this.props.value.house}</span>
            </div>
        );
    }
}

score:1

render(){
      this.perfume = this.props.value;
return(
        <div>
            <span>{this.perfume.perfumeName}</span>
            <span>{this.perfume.perfumeId}</span>
            <span>{this.perfume.house}</span>
        </div>
    );
}

Related Query

More Query from same tag