UNPKG

484 BTypeScriptView Raw
1import * as React from 'react';
2import type { OnCustomizeScroll, ScrollConfig } from '../interface';
3export interface GridProps<RecordType = any> {
4 data: RecordType[];
5 onScroll: OnCustomizeScroll;
6}
7export interface GridRef {
8 scrollLeft: number;
9 nativeElement: HTMLDivElement;
10 scrollTo: (scrollConfig: ScrollConfig) => void;
11}
12declare const ResponseGrid: React.ForwardRefExoticComponent<GridProps<any> & React.RefAttributes<GridRef>>;
13export default ResponseGrid;