ar-design
Version:
AR Design is a (react | nextjs) ui library.
12 lines (11 loc) • 412 B
TypeScript
import React from "react";
type LoadingContextProps = {
isLoading: boolean;
setIsLoading: React.Dispatch<React.SetStateAction<boolean>>;
};
type LoadingProviderProps = {
children: React.ReactNode;
};
declare const LoadingContext: React.Context<LoadingContextProps>;
declare const LoadingProvider: ({ children }: LoadingProviderProps) => React.JSX.Element;
export { LoadingContext, LoadingProvider };