UNPKG

@geist-ui/react

Version:

Modern and minimalist React UI library.

16 lines (15 loc) 583 B
import React from 'react'; import { NormalTypes } from "../utils/prop-types"; export declare type LoadingTypes = NormalTypes; interface Props { type?: LoadingTypes; color?: string; className?: string; spaceRatio?: number; } declare type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>; export declare type LoadingProps = Props & NativeAttrs; declare const Loading: React.ForwardRefExoticComponent<Props & NativeAttrs & { children?: React.ReactNode; } & import("../use-scaleable").ScaleableProps & React.RefAttributes<unknown>>; export default Loading;