show and hide functional component in react js code example
Example: hide and show usingfunction components
{ this.props.display &&
<div className="comment_usr_details">
...
</div>
}
{ this.props.display &&
<div className="comment_usr_details">
...
</div>
}