New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

m-list

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

m-list

react移动端list列表组件

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

m-list

移动端react 列表组件

列表容器以一致的格式来显示一组相关的内容,为一致性的类型或者一组内容指定优先顺序来体现层次感以获取更好的可读性。

列表瓦片可以包含多行的文本,并且文本的字数可以在同一列表的不同瓦片间有所不同。

API

  • 列表容器<List>的属性说明如下:
属性说明类型默认值
type设置类型,目前只有默认类型和媒体类型,可选值为 media或者不设stringundefined
title设置列表头部标题string''
top设置列表区块是上间距,可选值为任意合法的css长度属性值,如'30px'string''
bottom设置列表区块是下间距,可选值为任意合法的css长度属性值,如'30px'string''
  • 列表项<Li>的属性说明如下:
属性说明类型默认值
className为列表行的.item-content 元素追加css class类名string''
suffix设置列表行后缀信息string或elementundefined
subtitle设置列表第二子行内容string或elementundefined
detail设置列表第三、第四子行内容string或elementundefined
img设置列表行左侧图片的URLstringundefined
href设置列表行点击后跳转的链接stringundefined
noarrow设置列表行右侧没有箭头booleanundefined
onClick设置列表行点击后执行的回调函数functionnoop

Keywords

list

FAQs

Package last updated on 23 May 2017

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