@hyper-fetch/react
Version:
React hooks and utils for the hyper-fetch
19 lines (18 loc) • 320 B
text/typescript
export type UseAppManagerReturnType = {
/**
* Is window focused
*/
isFocused: boolean;
/**
* Network online status
*/
isOnline: boolean;
/**
* Network state setter
*/
setOnline: (isOnline: boolean) => void;
/**
* Focus state setter
*/
setFocused: (isFocused: boolean) => void;
};