LMFeedReplyContext
Introduction
The LMFeedReplyContext
stores details to a single Comment/Reply on a post. Each of the Comment/Reply is wrapped in its own LMFeedReplyContext
. You can use this to create a custom UI for a Comment or a Reply.
Property | Type | Optional |
---|---|---|
reply | Reply | null | No |
user | User | null | No |
deleteReply | (id: string) => void | Yes |
likeReply | (id: string) => void | Yes |
updateReply | (comment: Reply, usersMap: Record<string, User>) => void | Yes |
Example
For example implementation, checkout here