Module

FPO.Components.UI.RenderComment

#renderComment

renderComment :: Translator Labels -> Maybe Formatter -> Maybe DateTime -> Comment -> (forall action slots m. ComponentHTML action slots m)

Renders a reply comment (child in a thread).

#renderFirstComment

renderFirstComment :: forall action slots m. Translator Labels -> Maybe Formatter -> Maybe DateTime -> Boolean -> Boolean -> action -> FirstComment -> ComponentHTML action slots m

Renders a "first comment" (the root of a comment thread) as a modern card with avatar, status accent border, and optional status icon.

Modules