0.3.4 • Published 6 months ago
@types/preact-virtual-list v0.3.4
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
// Type definitions for preact-virtual-list 0.3
// Project: https://github.com/developit/preact-virtual-list
// Definitions by: Reece Berens <https://github.com/reece-berens>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 08 Jul 2021 20:19:48 GMT
- Dependencies: @types/preact
- Global values: none
Credits
These definitions were written by Reece Berens.