Created
November 12, 2018 10:26
-
-
Save AsishP/70a2e10008c65db69dbf31c152d3fe1a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public render(): React.ReactElement<IProps> { | |
return ( | |
<div> | |
{ | |
this.props.properties ? ( | |
<TooltipHost content={this.props.tooltipMessage || strings.message} | |
id='pntp' | |
calloutProps={{ gapSpace: 0 }} | |
directionalHint={this.props.tooltipDirectional || DirectionalHint.leftTopEdge}> | |
{componentHTML} | |
</TooltipHost> | |
) : ( | |
<div> | |
{componentHTML} | |
</div> | |
) | |
} | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment