Home > @uniformdev/design-system > ObjectGridItemHeading
ObjectGridItemHeading() function
Heading component designed for use inside ObjectGridItem()'s header slot.
Automatically detects when the heading text is truncated (via a ResizeObserver) and shows the tooltip on hover so users can still read the full title. Click events on beforeHeadingSlot and afterHeadingSlot are stopped from propagating to the parent grid item.
Signature:
Parameters
| Parameter | Type | Description |
|---|---|---|
| { heading, beforeHeadingSlot, afterHeadingSlot, tooltip, ...props } | ObjectGridItemTitleProps |
Returns:
_emotion_react_jsx_runtime.JSX.Element