Skip to content

Commit 1ea865e

Browse files
committed
fix: table columns ts type
1 parent cdadeee commit 1ea865e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/table/interface.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@ export const columnProps = {
5252
// onHeaderCell?: (props: ColumnProps<T>) => any;
5353
};
5454

55-
export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>>;
55+
export type ColumnProps = Partial<ExtractPropTypes<typeof columnProps>> & {
56+
slots?: Record<string, string>;
57+
};
5658

5759
export interface TableComponents {
5860
table?: any;

0 commit comments

Comments
 (0)