UNPKG

swiper

Version:

Most modern mobile touch slider and framework with hardware accelerated transitions

10 lines (9 loc) 398 B
import { type ReactElement } from 'react'; import type { Swiper as SwiperClass } from '../core/core.js'; import type { ChildWithProps } from './get-children.js'; export interface VirtualData { from: number; to: number; offset: number; } export declare function renderVirtual(swiper: SwiperClass | null, slides: ChildWithProps[], virtualData: VirtualData | null): ReactElement[] | null;