WetNoticeMenu 通知下拉菜单
基本介绍
组件注意用于消息通知,减少消息通知类功能的开发时间,开箱即用
基本使用
属性
属性 | 描述 | 类型 | 默许值 |
---|---|---|---|
size | 通知图标大小 | number | string | 18 |
color | 通知图标颜色 | string | - |
isFilled | 通知图标是填充样式 | boolean | false |
menus | 通知信息 | WetNoticeMenuItemType | [] |
类型描述(TS)
ts
export type WetNoticeMenuItemType = {
icon?:Component | VNode,
content:string,
updateTime:string,
id?:string,
isVisited?:boolean
}