UNPKG

@resourge/react-fetch

Version:

[![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)

21 lines (20 loc) 663 B
/** * react-fetch v1.43.1 * * 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 */ import React from 'react'; import { type BaseGlobalLoaderProps } from './constants'; export type GlobalLoaderProps = BaseGlobalLoaderProps<React.CSSProperties>; /** * Component with loaderId to trigger loading at the useFetch or LoadingService command. * Serves as the global type, where it shows the loading on the entire page. * By default loaderId is ''. */ declare const GlobalLoader: React.FC<GlobalLoaderProps>; export default GlobalLoader;