# mui-single-notice

## SingleNoticeComponent

## 使用场景

公告列表中的某一项

## 项目中用到的地方

（首页）公告列表中的某一项

## 代码示例

```html
 <mui-single-notice [data]="item" *ngFor="let item of dataList"></mui-single-notice>
```

## API

### 属性

| 参数     | 说明             | 类型     | 默认值 |
| -------- | ---------------- | -------- | ------ |
| `[data]` | 页面需要展示的值 | `Object` | ---    |

### data中的obj属性

| 名称              | 说明           | 类型     | 示例 |
| ----------------- | -------------- | -------- | ---- |
| `obj.title`       | 公告的标题     | `String` | --   |
| `obj.id`          | 公告的id       | `Number` | --   |
| `obj.createdDate` | 公告的创建时间 | `Number` | ---  |
