import * as React from 'react' ; import { Tooltip , ITooltipProps } from 'azure-devops-ui/TooltipEx' ; export class TooltipSpan extends React . Component < ITooltipProps > { render ( ) { return < Tooltip { ... this . props } > < span style = { { overflow : 'hidden' } } > { this . props . children } < /span> < /Tooltip>; } }