FadeOutText
FadeOutText(
FadeOutTextProps):Element
Parameters
FadeOutTextProps
Returns
Element
Example
function MyComponent() {
return (
<FadeOutText
bgColor="bg-transparent"
rightAlign={true}
tooltipContent="This is the full content that appears in the tooltip"
onTooltipClick={...}
>
This is a very long text that will be truncated with fade effect when it reaches the container width
</FadeOutText>
);
}