lucid-ui
Version:
A UI component library from AppNexus.
48 lines • 1.26 kB
TypeScript
/// <reference types="react" />
import { IIconProps } from '../Icon';
export declare enum durations {
fast = "0.75s",
normal = "1.25s",
slow = "4s"
}
interface ILoadingIconProps extends IIconProps {
/** The speed of rotation of the spinner. */
speed?: keyof typeof durations;
}
export declare const LoadingIcon: {
({ className, speed, style, isDisabled, ...passThroughs }: ILoadingIconProps): JSX.Element;
displayName: string;
peek: {
description: string;
categories: string[];
extend: string;
madeFrom: string[];
};
propTypes: {
speed: any;
className: any;
size: any;
width: any;
height: any;
viewBox: any;
aspectRatio: any;
isClickable: any;
isDisabled: any;
onClick: any;
onSelect: any;
children: any;
color: any;
};
defaultProps: {
size: number;
aspectRatio: string;
viewBox: string;
isDisabled: boolean;
isClickable: boolean;
color: import("../Icon").Color;
onClick: (...args: any[]) => void;
onSelect: (...args: any[]) => void;
};
};
export default LoadingIcon;
//# sourceMappingURL=LoadingIcon.d.ts.map