Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 29x 29x 29x 62x | import React from 'react'
import { FontVariation, Text, TextProps } from '@harness/uicore'
interface ToolTipTitleProps {
title: string
toolTipId?: string
textProps?: TextProps
}
export const TitleWithToolTipId: React.FC<ToolTipTitleProps> = ({ title, toolTipId, textProps = {} }) => {
return (
<Text font={{ variation: FontVariation.H4 }} tooltipProps={{ dataTooltipId: toolTipId }} {...textProps}>
{title}
</Text>
)
}
|