@egjs/react-grid
Version:
A React component that can arrange items according to the type of grids
17 lines (16 loc) • 567 B
TypeScript
import * as React from "react";
import { GridOptions, GridMethods, GridFunction } from "@egjs/grid";
import { ReactGridProps } from "./types";
export declare abstract class Grid<T extends GridOptions> extends React.PureComponent<T & ReactGridProps & {
[key: string]: any;
}> {
static GridClass: GridFunction;
private _grid;
private _containerRef;
render(): JSX.Element;
componentDidMount(): void;
componentDidUpdate(): void;
componentWillUnmount(): void;
}
export interface Grid<T extends GridOptions> extends GridMethods<Grid<T>> {
}