@resourge/react-fetch
Version:
[](LICENSE)
16 lines (15 loc) • 363 B
TypeScript
/**
* react-fetch v1.41.3
*
* Copyright (c) resourge.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
export declare const useOnFocus: (cb: () => {
blur: () => void;
clear: () => void;
focus: () => void;
}, onWindowFocus?: boolean) => void;