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 3938ed0 commit 485a6ffCopy full SHA for 485a6ff
index.js.flow
@@ -1 +1,5 @@
1
-declare export default function useOnlineStatus(): boolean;
+declare export default function useOnlineStatus(opts: {
2
+ onOnline?: () => void,
3
+ onOffline?: () => void,
4
+ onStatusChange?: (online: boolean) => void,
5
+}): boolean;
0 commit comments