Repos
C++
380 B13 lines Opens in site
Directory
Raw
Download
#pragma once
// Spec: INV-social 15.3 (NotificationRow).
#include <functional>
#include "model/Notification.hpp"
#include "ui/Views.hpp"
namespace dp {
// Plain button row: optional actor avatar, message (subheadline), narrow relative time, unread dot and tint.
ui::ViewPtr NotificationRow(const Notification& notification, std::function<void()> onSelect);
} // namespace dp