semantic-ui-react
Version:
The official Semantic-UI-React integration.
41 lines (27 loc) • 953 B
TypeScript
import * as React from 'react';
import { SemanticShorthandContent, SemanticSIZES } from '../..';
export interface LoaderProps {
[key: string]: any;
/** An element type to render as (string or function). */
as?: any;
/** A loader can be active or visible. */
active?: boolean;
/** Primary content. */
children?: React.ReactNode;
/** Additional classes. */
className?: string;
/** Shorthand for primary content. */
content?: SemanticShorthandContent;
/** A loader can be disabled or hidden. */
disabled?: boolean;
/** A loader can show it's unsure of how long a task will take. */
indeterminate?: boolean;
/** Loaders can appear inline with content. */
inline?: boolean | 'centered';
/** Loaders can have their colors inverted. */
inverted?: boolean;
/** Loaders can have different sizes. */
size?: SemanticSIZES;
}
declare const Loader: React.StatelessComponent<LoaderProps>;
export default Loader;