hide and show usingfunction components 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>
}