We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2082ec commit 263760dCopy full SHA for 263760d
src/index.tsx
@@ -3,9 +3,9 @@ import useScriptLoader from "./hooks/useScriptLoader";
3
import useSafeState from "./hooks/useSafeState";
4
5
export interface ScriptLoaderFunction extends React.FC<ScriptLoaderProps> {
6
- Success: React.FC;
7
- Failed: React.FC;
8
- Loading: React.FC;
+ Success: typeof Success;
+ Failed: typeof Failed;
+ Loading: typeof Loading;
9
}
10
11
type ScriptLoaderStatus = "loading" | "succeeded" | "failed";
0 commit comments