@aligov/components-hoz-list

1.0.0 • Public • Published

横向列表

@aligov/components-hoz-list

横向列表,如用于概览数据展示

API

参数名 说明 必填 类型 默认值 备注
dataSource 数据源 Array
valueFormatter 值格式化方式 string, function

dataSource 是一个数组数据源,数组项的格式是 { label: any, value: any }

valueFormatter 是值的格式化方式,默认是不做格式化。格式化的方式包括:千分位分隔(thousandSeparator)、百分比展示(percent)、日期时间(timestamp2Date)。

Readme

Keywords

Package Sidebar

Install

npm i @aligov/components-hoz-list

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

162 kB

Total Files

11

Last publish

Collaborators

  • jasoncapricorn
  • qingkaili
  • huguoxin
  • shenyu.wsy
  • liunian
  • tao1991123
  • itrip
  • xiazhiqiang
  • mo.zhou
  • guoliang.hgl
  • daip
  • baizhao