@knowgistics/comment

1.0.2 • Public • Published

@knowgistics/comment

Comment for Knowgistics

NPM JavaScript Style Guide

Install

npm install --save @knowgistics/comment

Usage

import React from 'react'
import { Comment } from '@knowgistics/comment'
import '@knowgistics/comment/dist/index.css'
import firebase from "firebase/app";

...

const App = () => {
  const [user,setUser] = React.useState(null);

  React.useEffect(()=>{
    firebase.auth().onAuthStateChanged(user=>setUser(user));
  }, [])

  return <Comment firebase={firebase} user={user} parent={post_parent_id} />;
}

export default App

License

MIT © knowgistics-coding

Readme

Keywords

none

Package Sidebar

Install

npm i @knowgistics/comment

Weekly Downloads

4

Version

1.0.2

License

MIT

Unpacked Size

6.88 MB

Total Files

7

Last publish

Collaborators

  • knowgistics