🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@alicd/cone-tars-message-list

Package Overview
Dependencies
Maintainers
6
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alicd/cone-tars-message-list

最新版tars站内信列表

latest
npmnpm
Version
0.0.2
Version published
Maintainers
6
Created
Source

@alicd/cone-tars-message-list

组件开发文档

category: Components type: UI Views component: Basic chinese: 站内信消息列表 english: TarsMsgList

展示站内信列表,接入改组件需要在 Tars (https://tars.cainiao-inc.com/) 中拥有租户,请确定自己的应用是否接入 Tars

API

TarsMsgList

成员说明类型默认值
className扩展 classstringnull
pageSize分页numbernull
defaultPageSize默认分页number10
children子元素工具,设置后会展示在小分页按钮的左侧,建议用按钮ReactElementnull
pageSizeList分页的可选值array[10,20,50]
onPageChange分页改变触发参数:e.current: 当前页码;e.pageSize:每页多少条null
gapContent除了表格区域,其他元素两侧是否需要留 20像素空间booleanfalse
app目标系统编码,来源于你在 tars 中配置的站内信的目标系统stringnull
size整体大小,可选值:large,medium,smallstringmedium
hasSearch是否有搜索区,设置为 false 之后只会在表头展示一个搜索按钮booleantrue
autoSearch是否默认加载组件就搜索booleantrue
hasBorder表格是否含有标签booleantrue
spreadTitle展开详情的 titlestring消息详情
spreadDetail是否需要点击展开详情booleantrue
spreadParams设置展开弹层的样式等属性。shake 字段可用于禁用切换项时的抖动效果。{ marginTop: number,marginRight: number, width: any, shake: boolean, }{ marginTop: 48, marginRight: 0, width: "60%", shake: true }

Keywords

Cone

FAQs

Package last updated on 17 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts