@koolsoft-dev/kslib-web-comments
v0.1.2
Published
KoolSoft Web Comments Component
Downloads
1
Readme
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