Skip to content

Commit 9f64d2e

Browse files
Merge pull request #7038 from Winter979/column-slot-types
correct field type for column body slot
2 parents ca9fd92 + 568a6a0 commit 9f64d2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/primevue/src/column/Column.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ export interface ColumnSlots {
661661
/**
662662
* Column field.
663663
*/
664-
field: string;
664+
field: string | ((item: any) => string) | undefined;
665665
/**
666666
* Row index.
667667
*/

0 commit comments

Comments
 (0)