@tarojs/components
Version:
20 lines (18 loc) • 712 B
TypeScript
import { ComponentType } from 'react'
import { StandardProps } from './common'
interface ListViewProps extends StandardProps {
/**
* 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
* @supported weapp
* @default [0, 0, 0, 0]
*/
padding?: [number, number, number, number]
}
/**
* 列表布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
* @classification skyline
* @supported weapp, harmony
* @see https://developers.weixin.qq.com/miniprogram/dev/component/list-view.html
*/
declare const ListView: ComponentType<ListViewProps>
export { ListView, ListViewProps }