@tplc/business
Version:
36 lines (34 loc) • 978 B
text/typescript
import { LcbAreaProps } from '../lcb-area/types'
import { DataSource } from '../../action'
import { LcbBlockProps } from '../lcb-block/types'
import { LcbEmptyProps } from '../lcb-empty/types'
export interface LcbWrapperListProps extends LcbBlockProps {
dataSource?: DataSource
gap?: number
width?: number
display?: 'flex' | 'grid'
flexDirection?: 'row' | 'column'
gridColumns?: number
scrollX?: boolean
list?: LcbAreaProps[]
childrenAutoWidth?: boolean
pageProps: {
/**
* 开启下拉刷新+上拉加载(基于 z-paging)
*/
pagingEnabled?: boolean
/**
* 分页大小,对应 pageSearch.limit,默认 10
*/
pageLimit?: number
/**
* z-paging 是否使用页面滚动模式,默认 true
*/
pagingUsePageScroll?: boolean
/**
* 非页面滚动模式下的高度(pagingUsePageScroll=false 时生效)
*/
pagingHeight?: string
}
emptyProps?: LcbEmptyProps // 空状态配置
}