npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@alicd/cone-tars-message-list

v0.0.2

Published

最新版tars站内信列表

Downloads

17

Readme

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