fix: table columns ts type
parent
cdadeeeb04
commit
1ea865e59b
|
@ -52,7 +52,9 @@ export const columnProps = {
|
|||
// onHeaderCell?: (props: ColumnProps<T>) => any;
|
||||
};
|
||||
|
||||
export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
|
||||
export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>> & {
|
||||
slots?: Record<string, string>;
|
||||
};
|
||||
|
||||
export interface TableComponents {
|
||||
table?: any;
|
||||
|
|
Loading…
Reference in New Issue