Skip to content

Commit ce761d3

Browse files
committed
fix ts issue
1 parent df369c8 commit ce761d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Loader.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, {ReactNode} from "react";
2-
import {ContextFunctionData, TableData} from "./contextTypes";
2+
import {ContextFunctionCellWithoutValue, TableData} from "./contextTypes";
33

44
export enum LoadingIcon {
55
CIRCLE,
@@ -18,7 +18,7 @@ export enum LoadingIcon {
1818

1919
export interface ILoaderProps {
2020
loadingIcon?: LoadingIcon;
21-
loadingOverlay?: ContextFunctionData<ReactNode>;
21+
loadingOverlay?: ContextFunctionCellWithoutValue<ReactNode>;
2222
data?: TableData;
2323
}
2424

0 commit comments

Comments
 (0)