UNPKG

906 BTypeScriptView Raw
1import * as React from 'react';
2import type { HeaderProps } from '../Header/Header';
3import type { Direction } from '../interface';
4export interface FixedHeaderProps<RecordType> extends HeaderProps<RecordType> {
5 className: string;
6 noData: boolean;
7 maxContentScroll: boolean;
8 colWidths: readonly number[];
9 columCount: number;
10 direction: Direction;
11 fixHeader: boolean;
12 stickyTopOffset?: number;
13 stickyBottomOffset?: number;
14 stickyClassName?: string;
15 onScroll: (info: {
16 currentTarget: HTMLDivElement;
17 scrollLeft?: number;
18 }) => void;
19 children: (info: HeaderProps<RecordType>) => React.ReactNode;
20}
21/** Return a table in div as fixed element which contains sticky info */
22declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<FixedHeaderProps<any> & React.RefAttributes<HTMLDivElement>>>;
23export default _default;