/// import PropTypes from 'prop-types'; import { IIconProps } from '../Icon'; export declare enum durations { fast = "0.75s", normal = "1.25s", slow = "4s" } export interface ILoadingIconProps extends IIconProps { /** The speed of rotation of the spinner. */ speed?: keyof typeof durations; } export declare const loadingIconPropTypes: { /** The speed of rotation of the spinner. */ speed: PropTypes.Requireable; /** Size variations of the icons. \`size\` directly effects height and width but the developer should also be conscious of the relationship with \`viewBox\`. */ size: PropTypes.Requireable; /** Size handles width and height, whereas \`width\` can manually override the width that would be set by size. */ width: PropTypes.Requireable; /** Size handles width and height, whereas \`height\` can manually override the height that would be set by size. */ height: PropTypes.Requireable; /** Any valid SVG aspect ratio. */ aspectRatio: PropTypes.Requireable; /** Adds styling that makes the icon appear clickable. */ isClickable: PropTypes.Requireable; /** Adds styling that makes the icon appear disabled. Also forces isClickable to be false. */ isDisabled: PropTypes.Requireable; /** Called when the user clicks the \`Icon\`. Signature: \`({event, props}) => {}\` */ onClick: PropTypes.Requireable<(...args: any[]) => any>; /** Called when the user clicks an active, clickable \`Icon\`. Signature: \`({event, props}) => {}\` */ onSelect: PropTypes.Requireable<(...args: any[]) => any>; /** Any valid React children. */ children: PropTypes.Requireable; /** Classes that are appended to the component defaults. This prop is run through the \`classnames\` library. */ className: PropTypes.Requireable; }; export declare const LoadingIcon: { ({ className, speed, style, isDisabled, ...passThroughs }: ILoadingIconProps): JSX.Element; displayName: string; propTypes: { /** The speed of rotation of the spinner. */ speed: PropTypes.Requireable; /** Size variations of the icons. \`size\` directly effects height and width but the developer should also be conscious of the relationship with \`viewBox\`. */ size: PropTypes.Requireable; /** Size handles width and height, whereas \`width\` can manually override the width that would be set by size. */ width: PropTypes.Requireable; /** Size handles width and height, whereas \`height\` can manually override the height that would be set by size. */ height: PropTypes.Requireable; /** Any valid SVG aspect ratio. */ aspectRatio: PropTypes.Requireable; /** Adds styling that makes the icon appear clickable. */ isClickable: PropTypes.Requireable; /** Adds styling that makes the icon appear disabled. Also forces isClickable to be false. */ isDisabled: PropTypes.Requireable; /** Called when the user clicks the \`Icon\`. Signature: \`({event, props}) => {}\` */ onClick: PropTypes.Requireable<(...args: any[]) => any>; /** Called when the user clicks an active, clickable \`Icon\`. Signature: \`({event, props}) => {}\` */ onSelect: PropTypes.Requireable<(...args: any[]) => any>; /** Any valid React children. */ children: PropTypes.Requireable; /** Classes that are appended to the component defaults. This prop is run through the \`classnames\` library. */ className: PropTypes.Requireable; }; 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