@appbuckets/react-ui
Version:
Just Another React UI Framework
24 lines (23 loc) • 673 B
TypeScript
import { UIMutableComponentProps, AppearanceProps } from '../generic';
export declare type LoaderType =
| 'circular'
| 'dots'
| 'circular dots'
| 'indeterminate bar';
export interface LoaderProps
extends UIMutableComponentProps<StrictLoaderProps>,
AppearanceProps {}
export interface StrictLoaderProps {
/** Show Loader */
active?: boolean;
/** Center the Loader Horizontally */
centered?: boolean;
/** Set the Loader as inline */
inline?: boolean;
/** Invert Loader color */
inverted?: boolean;
/** Set the Loader as an Overlay, will be absolute placed on parents */
overlay?: boolean;
/** Set the loader type */
type?: LoaderType;
}