Stale data warning

A stale data warning component displays a warning status when an object is stale and planned for removal. Additional warning details can be displayed as a tooltip or text label.

Examples

Basic stale data warning example

A basic stale data warning component displays a warning icon with additional details in a tooltip, including a timeline for data removal.

Stale data warning with customized props

Instead of sharing details in a tooltip, you can place a short message beside the icon. You can still utilize all properties of the tooltip component, with the exception of content.

System scheduled for inventory removal in -36 days
This is an error message where the item is overdue

Props

StaleDataWarning

extends TooltipProps
*required
NameTypeDefaultDescription
culledNo type infonew Date(0)
currDateNo type infonew Date(0)
staleNo type infonew Date(0)
staleWarningNo type infonew Date(0)