/** * Text (p Element) with Tooltip */ import * as React from "react"; export interface IParagraphWithTooltipProps { style?: any; content: JSX.Element; tooltip: string | React.ReactElement | JSX.Element; } export class ParagraphWithTooltip extends React.Component< IParagraphWithTooltipProps, any > { render(): React.ReactNode { return (

{this.props.content}

{this.props.tooltip}
); } }