@miner-mobile/capsule
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

@miner-mobile/capsule

@miner-mobile/capsule.

See our website capsule for more information.

Install

Using npm:

$ npm install --save @miner-mobile/capsule

or using yarn:

$ yarn add @miner-mobile/capsule

属性

Props

属性 说明 类型 默认值
list 运营位的数据源 OperationPic[] []
backgroundLink 背景图盘的url string -
backgroundHeight 背景图的模块高度 number 图片的高度
titleName 中文标题 string -
onItemClick 运营位的点击事件 (item: OperationPic) => void -
onHeaderClick 背景点击事件 (linkUrl: string | undefined) => void -

OperationPic

属性 说明 类型 默认值
imgUrl 运营位的图片url string -
operationName 运营位的中文标题 string -
linkUrl 运营位的跳转链接 string -

Readme

Keywords

none

Package Sidebar

Install

npm i @miner-mobile/capsule

Weekly Downloads

0

Version

1.0.2

License

MIT

Unpacked Size

23.5 kB

Total Files

21

Last publish

Collaborators

  • fred.liu
  • zhangwen01