amis-rpc-design/node_modules/rc-table/es/Header/Header.d.ts
2023-10-07 19:42:30 +08:00

12 lines
523 B
TypeScript

import * as React from 'react';
import type { ColumnsType, ColumnType, GetComponentProps, StickyOffsets } from '../interface';
export interface HeaderProps<RecordType> {
columns: ColumnsType<RecordType>;
flattenColumns: readonly ColumnType<RecordType>[];
stickyOffsets: StickyOffsets;
onHeaderRow: GetComponentProps<readonly ColumnType<RecordType>[]>;
}
declare function Header<RecordType>(props: HeaderProps<RecordType>): React.ReactElement;
declare const _default: typeof Header;
export default _default;