| section | Extensions | |
|---|---|---|
| subsection | Component groups | |
| id | Stale data warning | |
| source | react | |
| propComponents |
|
|
| sourceLink | https://github.com/patternfly/react-component-groups/blob/main/packages/module/patternfly-docs/content/extensions/component-groups/examples/StaleDataWarning/StaleDataWarning.md |
import StaleDataWarning from '@patternfly/react-component-groups/dist/dynamic/StaleDataWarning'; import { Fragment, FunctionComponent } from 'react';
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.
A basic stale data warning component displays a warning icon with additional details in a tooltip, including a timeline for data removal.
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.