@douyinfe/semi-ui
Version:
A modern, comprehensive, flexible design system and UI library. Connect DesignOps & DevOps. Quickly build beautiful React apps. Maintained by Douyin-fe team.
30 lines (29 loc) • 1.03 kB
TypeScript
import React, { ReactNode } from 'react';
import { BaseProps } from '../_base/baseComponent';
import { Fixed, TableComponents, OnHeaderRow, ColumnProps } from './interface';
export interface TableHeaderProps extends BaseProps {
columns?: any[];
components?: TableComponents;
fixed?: Fixed;
forwardedRef?: React.MutableRefObject<HTMLDivElement> | ((instance: HTMLDivElement) => void);
onDidUpdate?: (ref: React.MutableRefObject<any>) => void;
onHeaderRow?: OnHeaderRow<any>;
prefixCls?: string;
selectedRowKeysSet: Set<any>;
}
export interface TableHeaderCell {
key: string | number;
className: string;
children: ReactNode;
column: ColumnProps;
colStart: number;
level: number;
parents: any[];
hasSubColumns?: boolean;
rowSpan?: number;
colSpan?: number;
colEnd?: number;
title?: string;
}
declare const _default: React.ForwardRefExoticComponent<Omit<TableHeaderProps, "forwardedRef"> & React.RefAttributes<HTMLDivElement>>;
export default _default;