UNPKG

virtua

Version:

A zero-config, fast and small (~3kB) virtual list (and grid) component for React, Vue, Solid and Svelte.

13 lines (12 loc) 527 B
import type { ViewportComponentAttributes } from "./types.js"; import type { VirtualizerHandle, VirtualizerProps } from "./Virtualizer.type.js"; /** * Props of {@link VList}. */ export interface VListProps<T> extends Pick<VirtualizerProps<T>, "data" | "getKey" | "bufferSize" | "itemSize" | "ssrCount" | "shift" | "horizontal" | "children" | "onscroll" | "onscrollend" | "keepMounted" | "cache">, ViewportComponentAttributes { } /** * Methods of {@link VList}. */ export interface VListHandle extends VirtualizerHandle { }