Variable: listProps
const
listProps:object
Type declaration
data
data:
object
data.type
type:
PropType
<DataLoader
<ListData
,ListState
>>
data.default()
Returns
never
[]
dataKey
dataKey:
object
dataKey.type
type:
StringConstructor
height
height:
object
height.default
default:
string
height.type
type: (
StringConstructor
|NumberConstructor
)[]
infiniteScroll
infiniteScroll:
object
infiniteScroll.type
type:
PropType
<boolean
|ListInfiniteScroll
>
itemHeight
itemHeight:
object
设置 itemHeight 即自动开启虚拟滚动
itemHeight.type
type:
PropType
<number
| (index
) =>number
>
page
page:
object
page.default
default:
number
page.type
type:
NumberConstructor
pager
pager:
object
pager.type
type:
PropType
<boolean
|Partial
<PaginationProps
>>
pageSize
pageSize:
object
pageSize.default
default:
number
pageSize.type
type:
NumberConstructor
width
width:
object
width.default
default:
string
width.type
type: (
StringConstructor
|NumberConstructor
)[]
Defined in
packages/ui/types/components/list/types.d.ts:18