<!--
 * @Description:
 * @Author: jiass
 * @Date: 2022-03-02 14:37:49
 * @LastEditTime: 2022-03-02 15:15:05
 * @LastEditors: jiass
-->

## CommentList 文档列表

![Alt](../../assets/commentList.jpg)

```tsx
import React, { useState, useEffect, useCallback } from "react";
import CommentList from "taro-mini-ui";

const commentListData = {
  fileList: [
    {
      fileName: "测试word.docx",
      fileUrl:
        "https://regard01.95579.com/insCjzy/insWechatCjzy/upload/2021/12/29/测试word20211229170013.docx",
      type: 1,
    },
  ],
  optName: "雷焯",
  optTime: "2021-12-29 17:00:15",
  optType: 0,
  optUid: 8,
  poolType: 2,
  reason:
    "不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦不错不UI哦",
};

export default () => {
  return (
    <CommentList
      data={commentListData}
      optTypeObj={optTypeObj}
      poolType={poolType}
    ></CommentList>
  );
};
```

| 属性名     | 描述                 | 类型     | 默认值 |
| ---------- | -------------------- | -------- | ------ |
| data       | 必填，数据详情       | object   |        |
| poolType   | 必填，池子类型       | object   |        |
| optTypeObj | 必填，状态类型       | object   |        |
| onPdfClick | 非必填，pdf 点击事件 | function |        |
