react-native-awesome-comments

Comments component for react native

Usage no npm install needed!

<script type="module">
  import reactNativeAwesomeComments from 'https://cdn.skypack.dev/react-native-awesome-comments';
</script>

README

react-native-awesome-comments

import { Comments } from 'react-native-awesome-comments'

  <Comments
    enabled={true}
    isLoggedIn={true}
    jobId={'5c6e4ba530972c31b294c429'}
    user={this.state.user}
    comments={this.state.comments}
    commentPage={this.state.commentPage}
    isFetchingComments={this.state.isFetchingComments}
    commentsHasNextPage={this.state.commentsHasNextPage}
    replies={this.state.replies}
    isFetchingReplies={this.state.isFetchingReplies}
    fetchComments={this.fetchComments}
    saveComment={this.saveComment}
    updateComment={this.updateComment}
    deleteComment={this.deleteComment}
    fetchCommentReplies={this.fetchCommentReplies}
        />