hide and show elements web 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>
}