interface TimestampTooltip {
    content?: ReactNode;
    suffix?: string;
    tooltipProps?: any;
    variant: "default" | "custom";
}

Properties

content?: ReactNode

Content displayed in the tooltip when using the "custom" variant.

suffix?: string

A custom suffix to apply to a "default" variant tooltip.

tooltipProps?: any

Additional props passed to the tooltip.

variant: "default" | "custom"

The variant of the tooltip. The "default" variant displays the date passed into the timestamp's date prop as a UTC string.