screens/DSActivityFeed
DSActivityFeed
screensVertical event feed with avatar, event type icon, description, and timestamp. Supports grouping by date.
iOS 17+macOS 14+
Purpose
Audit logs, collaboration activity, and in-app notification history.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| itemsreq | [DSActivityItem] | โ | Feed items. |
| groupByDate | Bool | true | Groups items under date headers. |
| onLoadMore | (() -> Void)? | nil | Pagination callback. |
Examples
Project activity
Activity timeline for a project.
swift
DSActivityFeed(
items: viewModel.activityItems,
groupByDate: true,
onLoadMore: { viewModel.loadMore() }
)