Comment
A card that renders a feed comment with its author, content, and actions, including threaded replies and deleted states.
Warning
_stories.tsx file for detailed usage examples.
Installation
import {
Comment,
CommentAdd,
} from "@o/pipeline/experimental/components/comment";
Usage
Content guidelines
- Don’t show the “this message was deleted” treatment for individual or thread comments
- Show the “this message was deleted” treatment when the comment contains a thread
skeleton
Comment.MessageAuthor, Comment.MessageMetaListItem and Comment.MessageBody take skeleton, which draws a bar over their text while it is loading and makes them inert. A body of text gets a bar over each line; any other body, such as an editor, gets one block in its place. Comment.MessageMetaListItem keeps its ·. Inside a loading SkeletonGroup it is on by default; see Skeleton.
Examples
Feed
Feed: readonly external
Matches current application behavior for external feeds