Skip to content

WetNoticeMenu 通知下拉菜单

基本介绍

组件注意用于消息通知,减少消息通知类功能的开发时间,开箱即用

基本使用

属性

属性描述类型默许值
size通知图标大小number | string18
color通知图标颜色string-
isFilled通知图标是填充样式booleanfalse
menus通知信息WetNoticeMenuItemType[]

类型描述(TS)

ts
export type WetNoticeMenuItemType = {
  icon?:Component | VNode,
  content:string,
  updateTime:string,
  id?:string,
  isVisited?:boolean
}

WetProElement