Skip to content
Repos

DevPlaceApp

C++ 578 B15 lines Opens in site

Directory Raw Download

#pragma once
// Spec: INV-posts 3.3. VStack(leading, 8){ topic capsule, title (.title, inline markdown), markdown body }.
// Title and body open the selectable-text popover on long press. Also used for comment bodies (no topic, no title).
#include <optional>
#include <string>

#include "screens/post/PostEnvironment.hpp"
#include "ui/Views.hpp"

namespace dp {

ui::ViewPtr PostContentView(const std::optional<std::string>& topic, const std::optional<std::string>& title,
                            const std::string& content, const PostEnvironment& env);

}  // namespace dp
43.6ms