bananas-commerce-admin
Version:
What's this, an admin for apes?
55 lines (54 loc) • 1.55 kB
TypeScript
import React from "react";
import { Theme } from "@mui/material/styles";
import { LogoType } from "../types";
declare const styles: (theme: Theme) => {
readonly root: {
readonly position: "fixed";
readonly top: 0;
readonly left: 0;
readonly width: "100%";
readonly height: "100%";
};
readonly backdrop: {
readonly position: "absolute";
readonly zIndex: 2000;
readonly backgroundColor: string;
};
readonly backdropPrimary: {
readonly backgroundColor: string;
};
readonly backdropSecondary: {
readonly backgroundColor: string;
};
readonly backdropPaper: {
readonly backgroundColor: string;
};
readonly spinner: {
readonly color: string;
};
readonly spinnerContrast: {
readonly color: string;
};
readonly logo: {
readonly position: "absolute";
readonly margin: 0;
readonly marginTop: string;
};
};
export interface LoadingScreenBaseProps {
color?: string;
label?: string;
loading?: boolean;
logo?: LogoType;
}
export interface LoadingScreenInnerProps extends LoadingScreenBaseProps {
classes: ReturnType<typeof styles>;
backdrop: boolean;
}
export interface LoadingScreenProps extends LoadingScreenBaseProps {
backdrop?: boolean;
classes?: ReturnType<typeof styles>;
}
export declare const LoadingScreen: React.FC<LoadingScreenProps>;
declare const _default: React.NamedExoticComponent<LoadingScreenProps>;
export default _default;