Founding price: $35, then $99 after 23:59 UTC on 4 November, then $99
Get ProA dashboard card list that refreshes on pull and shows "Updated 2 minutes ago", turning into a visible failure with a Retry button while keeping the old data when a refresh fails. Use this when data can go stale and people want to know how fresh it is and what happens when it cannot update.
This item has no props to tune. Use the lens above to change theme, density, direction and more.
Use it when data can go stale and people want to know how fresh it is and what happens when it cannot update.
Do not use it for live data that streams in, where a timestamp is meaningless.
This item is part of tealmac UI Pro
The source for this item installs with a Pro licence key. Log in with your key to see the install command, or read the Pro setup page.
| Prop | Type | Default | Description |
|---|---|---|---|
load | () => Promise<Metric[]> | required | Fetch the metrics. |
initial | Metric[] | required | { id, label, value }. |
now | () => number | Date.now | Clock, for tests. |
time element; it refreshes every 30 seconds while mounted.role="alert" message with a Retry button and does not clear the timestamp.The pattern ships with a Testing Library test (pull-refresh-last-updated.test.tsx) that drives it through roles and the keyboard.