@koolsoft-dev/kslib-web-comments

0.1.2 • Public • Published

KoolSoft: React Comment Section

Install

npm i @koolsoft-dev/kslib-web-comments

yarn add @koolsoft-dev/kslib-web-comments

Usage

import CommentSection from "@koolsoft-dev/kslib-web-comments"

const App = () => {
  return <CommentSection
    initCommentList={[]}
    lang="en"
    currentUser={{
      id: 1
    }}
    onSubmitComment={(newComment: Comment) => {

    }}
    onRemoveComment={(args: { id: any; parentId: any}) => {
      
    }}
  />
}

export default App

License

MIT © duypv98

Readme

Keywords

none

Package Sidebar

Install

npm i @koolsoft-dev/kslib-web-comments

Weekly Downloads

0

Version

0.1.2

License

MIT

Unpacked Size

72.8 kB

Total Files

68

Last publish

Collaborators

  • duypv98