Installation
npm install --save @types/preact-virtual-list
Summary
This package contains type definitions for preact-virtual-list (https://github.com/developit/preact-virtual-list).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/preact-virtual-list.
index.d.ts
import { Component, h } from "preact";
interface Props {
className?: string | undefined;
data: any[];
overscanCount?: number | undefined;
renderRow: (row: any) => any;
rowHeight: number;
sync?: boolean | undefined;
[otherProps: string]: any;
}
declare class VirtualList extends Component<Props> {
constructor(props: Props);
render(): h.JSX.Element;
}
export = VirtualList;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: preact
Credits
These definitions were written by Reece Berens.