apphouse
Version:
Component library for React that uses observable state management and theme-able components.
30 lines (29 loc) • 726 B
TypeScript
import { CSSProperties } from 'glamor';
import { LoadingStyles } from '../styles/defaults/themes.interface';
import React from 'react';
export interface LoadingProps {
/**
* Color scheme to be used in the loader
* it has to be a hex value
*/
hexColor?: string;
/**
* The width of the loading indicator.
* @default 4
*/
thickness?: number;
/**
* @default 25
*/
size?: number;
/**
* Style of the loading indicator
* @default LoadingStyles.default
*/
variant?: keyof LoadingStyles;
/**
* Any style overwrites you might want to use
*/
styleOverwrites?: CSSProperties;
}
export declare const Loading: React.FC<LoadingProps>;