lightswind
Version:
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
9 lines (8 loc) • 324 B
TypeScript
import React from "react";
interface ScrollListProps<T> {
data: T[];
renderItem: (item: T, index: number) => React.ReactNode;
itemHeight?: number;
}
export declare const ScrollList: <T>({ data, renderItem, itemHeight, }: ScrollListProps<T>) => import("react/jsx-runtime").JSX.Element;
export default ScrollList;