@egjs/react-infinitegrid
Version:
A React component that can arrange items infinitely according to the type of grids
22 lines (21 loc) • 833 B
TypeScript
import * as React from "react";
import { InfiniteGridOptions, InfiniteGridFunction, InfiniteGridMethods } from "@egjs/infinitegrid";
import { ReactInfiniteGridProps } from "./types";
export declare abstract class InfiniteGrid<T extends InfiniteGridOptions> extends React.Component<T & ReactInfiniteGridProps & {
[key: string]: any;
}> {
static GridClass: InfiniteGridFunction;
private _grid;
private _wrapperRef;
private _containerRef;
private _renderer;
render(): import("react/jsx-runtime").JSX.Element;
componentDidMount(): void;
componentDidUpdate(): void;
componentWillUnmount(): void;
private _getItemInfos;
private _renderContainer;
private _getVisibleChildren;
}
export interface InfiniteGrid<T extends InfiniteGridOptions> extends InfiniteGridMethods<InfiniteGrid<T>> {
}