Skip to content

Commit d6584d8

Browse files
fix(model.ts): Change CustomComponents typings
1 parent 87e71e5 commit d6584d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/model.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const paddingLeft = 15
1818
const BASE_NAME = 'virtualized-table'
1919

2020
export type CustomComponents = {
21-
IconSortAsc?: JSX.Element
22-
IconSortDesc?: JSX.Element
21+
IconSortAsc?: () => JSX.Element
22+
IconSortDesc?: () => JSX.Element
2323
SearchField?: SearchFieldComp
2424
Counter?: CountComp
2525
}

0 commit comments

Comments
 (0)