# :panda_face:PandaCommentComponent

[![](https://img.shields.io/badge/Open%20Source-ByEricWang-orange.svg)](https://github.com/bigbigDreamer)
[![](https://img.shields.io/npm/dw/pandacomment.svg)]( http://npmcharts.com/compare/pandacomment)
![](https://img.shields.io/github/repo-size/bigbigDreamer/PandaComment.svg)
[![](https://img.shields.io/github/package-json/v/bigbigDreamer/PandaComment.svg)](https://www.npmjs.com/package/pandacomment)
![](https://img.shields.io/github/last-commit/bigbigDreamer/PandaComment.svg)
![](https://img.shields.io/npm/v/pandacomment.svg)
![](https://img.shields.io/badge/vue-2.x-brightgreen.svg)

### Introduction

>This is a Vue-based comment component, you are free to make a second transformation on it, become your stuff, and finally apply it to real projects. I call it the Panda Comment component.

### How To Use？
 
```bash
npm i pandacomment
```

#### InTheTemplate

```javascript
import {PandaComment} from 'pandacomment'

//In vue template

export default {
    components: {
        PandaComment
      }
}

```

```vue
<div>
<PandaComment :commentList = "[
   {
      username:'',
      content:'', 
      nowDate:'',//note ，if you publish comment , the component can record now time
   }
   ]" :logo="your avatarUrl"/>
</div>
//The commentList this prop is of type Array. Note that you must keep the field name consistent!

```
### 效果演示

![alt](https://github.com/bigbigDreamer/GraphBed/blob/master/MyBlogImg/demo2.gif?raw=true)


### LICENSE

Copyright (c) 2019 Eric Wang
