0.3.4 • Published 6 months ago

@types/preact-virtual-list v0.3.4

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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.

0.3.2

8 months ago

0.3.4

6 months ago

0.3.3

7 months ago

0.3.1

3 years ago

0.3.0

3 years ago