@tplc/business
Version:
19 lines (18 loc) • 606 B
text/typescript
// import { SwiperOptions } from '@zebra-ui/swiper/types/swiper-options'
import { ActionView } from 'action'
import { LcbBlockProps } from '../lcb-block/types'
export interface LcbSwiperProps extends LcbBlockProps {
items?: Partial<
ActionView & {
maskBgColor?: string
}
>[]
itemWidth?: number
itemHeight?: number
mode?: 'stackLeft' | 'stackRight' | 'stackCenter' | 'tinder'
visibleCount?: number
imageRadius?: number
enableOpacity?: boolean
/** 缩放步长:仅针对 stackLeft/stackRight 模式,每张卡片缩小的比例,默认 0.1 (10%) */
scaleStep?: number
}