@types/preact-virtual-list
TypeScript icon, indicating that this package has built-in type declarations

0.3.4 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/preact-virtual-list

Weekly Downloads

4

Version

0.3.4

License

MIT

Unpacked Size

3.53 kB

Total Files

5

Last publish

Collaborators

  • types