Home > @uniformdev/design-system > SwatchLabelTooltip

SwatchLabelTooltip() function

A tooltip component that displays a swatch label with a parent title and a description.

Signature:

Parameters

ParameterTypeDescription
{ parentTitle, title, description, }{ parentTitle?: string | React.ReactElement; title?: string | React.ReactElement; description?: string | React.ReactElement; }

Returns:

_emotion_react_jsx_runtime.JSX.Element

Example

<SwatchLabelTooltip parentTitle="Parent Title" title="Title" description="Description" />