Rich Text Components Demo
Demo Artist
@ArtistUser
Social Comments
A full-featured comments system with support for replies, likes, and rich media content.
Loading comments...
Documentation
The SocialComments
component provides a complete comment system for social media interactions.
Prop | Type | Default | Description |
---|---|---|---|
initialComments | Array | [] | Initial comments data to display |
onAddComment | Function | () => | Callback when a comment is added |
onUpdateComment | Function | () => | Callback when a comment is updated |
onLikeComment | Function | () => {} | Callback when a comment is liked |
currentUser | Object | null | Current user information |
allowMedia | Boolean | true | Whether to allow image/video embedding |
readOnly | Boolean | false | Whether the comments are read-only |
theme | String | "light" | Theme variant ('light' or 'dark') |