@grafana/ui
Version:
Grafana Components Library
26 lines (25 loc) • 795 B
TypeScript
import * as React from 'react';
import { IconSize } from '../../types/icon';
export interface Props {
className?: string;
style?: React.CSSProperties;
iconClassName?: string;
inline?: boolean;
size?: IconSize;
}
/**
* @deprecated
* use a predefined size, e.g. 'md' or 'lg' instead
*/
interface PropsWithDeprecatedSize extends Omit<Props, 'size'> {
size?: number | string;
}
/**
* @public
*
* Spinner is `fa-spinner` icon animated. It is used to alert a user to wait for an activity to complete.
*
* https://developers.grafana.com/ui/latest/index.html?path=/docs/information-spinner--docs
*/
export declare const Spinner: ({ className, inline, iconClassName, style, size, }: Props | PropsWithDeprecatedSize) => import("react/jsx-runtime").JSX.Element;
export {};