-
Plug and play comments component using reactjs.
-
Included a simple demo.
-
Basic CSS using Bootstrap.
-
Add a new comment.
-
Reply to a comment.
-
Delete comment.
-
Configuration.
commentConfig: {
allowNewComment: false, // default 'true'
allowDelete: true, // default 'false'
allowReply: true, // default 'false'
cssClass: 'main-class'
}
commentsData: [] // list of comment objects
onCommentSubmit: function // function to handle comment submission
onCommentDelete: function // function to handle delete comment
git clone https://github.com/thumarmahesh/react-comment-component.git