0.1.15 • Published 2 years ago

@smileeye.edu.vn/comment v0.1.15

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

SmileEye.Edu.Vn React Comment

ReactJS/NextJS Library Component for Comment. Easy to use.

Live demo

https://link-to-demo

Setup

Install SmileEye.Edu.Vn React Comment with npm

npm install @smileeye.edu.vn/comment

Get API key at https://link-to-project

Add API key at .env file.

// ReactJS .env or Antd Pro .env
REACT_APP_CODEBY_COMMENT_URL=https://package-comment.codeby.com
REACT_APP_CODEBY_COMMENT_TOKEN=xxx
REACT_APP_CODEBY_COMMENT_API=xxx

// NextJS .env
NEXT_PUBLIC_CODEBY_COMMENT_URL=https://package-comment.codeby.com
NEXT_PUBLIC_CODEBY_COMMENT_TOKEN=xxx
NEXT_PUBLIC_CODEBY_COMMENT_API=xxx

Usage/Examples

import {CommentBase} from "@smileeye.edu.vn/comment";
import {useEffect, useState} from "react";
import "@smileeye.edu.vn/comment/src/smileeye.edu.vn-comment.min.css";

const App = () => {
    const person = {
        "specialId": "1",
        "name": "Tien Nguyen",
        "avatar": "https://picsum.photos/300"
    };
    const unique = {
        "url": "http://uniqueUrl"
    }
    return (
        <>
            <CommentBase person={person} unique={unique}/>
        </>
    )
}

export default App

Support

For support, email tiennv.ppe@gmail.com or join our Slack channel. R&D by https://smileeye.edu.vn

License

MIT

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago