diff --git a/components/table/interface.tsx b/components/table/interface.tsx index 3334d21fbc..f7454b476b 100644 --- a/components/table/interface.tsx +++ b/components/table/interface.tsx @@ -29,6 +29,7 @@ export interface ColumnProps { children?: ColumnProps[]; onCellClick?: (record: T, event: any) => void; onCell?: (record: T) => any; + onHeaderCell?: (props: ColumnProps) => any; } export interface TableComponents {