amis-rpc-design/node_modules/rc-table/lib/Header/Header.d.ts

12 lines
523 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
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;