@resourge/react-fetch
Version:
[](LICENSE)
28 lines (27 loc) • 755 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
*/
import { type LoaderProps } from '../Loader';
export declare const globalColor = "#00BFFF";
export type BaseGlobalLoaderProps<Style> = Pick<Partial<LoaderProps>, 'loaderId' | 'children'> & {
/**
* Changes default color
*/
color?: string;
/**
* Styles for the Loader container
*/
style?: Style;
};
export type GlobalLoadingProps = {
color: string;
};
export declare let globalLoading: React.ReactNode;
export declare function setGlobalLoading(_globalLoading: React.ReactNode): import("react").ReactNode;