Interface SwipeDeckProps<T> Properties Optionalaria Label ariaLabel ?: string
Optionalas as ?: ComponentType < unknown > | (keyof IntrinsicElements)
Optionalclass Name className ?: string
Optionaldefault Index defaultIndex ?: number
Optionalend Reached Threshold endReachedThreshold ?: number
Optionalfullscreen fullscreen ?: boolean
Optionalgesture gesture ?: GestureConfig
Optionalindex index ?: number
Optionalkeyboard keyboard ?: KeyboardConfig
Optionalkeyboard Navigation keyboardNavigation ?: boolean
Optionalloop loop ?: boolean
Optionalon End Reached onEndReached ?: ( info : { direction : "forward" | "backward" ; distanceFromEnd : number } , ) => void
Optionalon Item Active onItemActive ?: ( item : T , index : number ) => void Optionalon Item Inactive onItemInactive ?: ( item : T , index : number ) => void Optionalpreload preload ?: number
Optionalpreload Previous preloadPrevious ?: number
Optionalstyle style ?: CSSProperties
Optionalvirtual virtual ?: VirtualConfig
Optionalvisibility visibility ?: VisibilityConfig
Optionalwheel wheel ?: WheelConfig
If true, applies styles to make the deck take up the full view height (100dvh) and width (100%). Helpful for full-screen video feeds to handle browser UI (address bar) correctly.