1 | import { ComponentType } from 'react'
|
2 | import { StandardProps } from './common'
|
3 | interface ListViewProps extends StandardProps {
|
4 | /**
|
5 | * 长度为 4 的数组,按 top、right、bottom、left 顺序指定内边距
|
6 | * @supported weapp
|
7 | * @default [0, 0, 0, 0]
|
8 | */
|
9 | padding?: [number, number, number, number]
|
10 | }
|
11 |
|
12 | /**
|
13 | * 列表布局容器,仅支持作为 scroll-view 自定义模式下的直接子节点或 sticky-section 组件直接子节点。仅 Skyline 支持。
|
14 | * @classification skyline
|
15 | * @supported weapp, harmony
|
16 | * @see https://developers.weixin.qq.com/miniprogram/dev/component/list-view.html
|
17 | */
|
18 | declare const ListView: ComponentType<ListViewProps>
|
19 | export { ListView, ListViewProps }
|