UNPKG

@patternfly/react-core

Version:

This library provides a set of common React components for use with the PatternFly reference implementation.

25 lines 954 B
/// <reference types="react" /> export declare enum spinnerSize { sm = "sm", md = "md", lg = "lg", xl = "xl" } export interface SpinnerProps extends React.SVGProps<SVGSVGElement> { /** Additional classes added to the Spinner. */ className?: string; /** Size variant of progress. */ size?: 'sm' | 'md' | 'lg' | 'xl'; /** Text describing that current loading status or progress */ 'aria-valuetext'?: string; /** Diameter of spinner set as CSS variable */ diameter?: string; /** Indicates the spinner is inline and the size should inherit the text font size. This will override the size prop. */ isInline?: boolean; /** Accessible label to describe what is loading */ 'aria-label'?: string; /** Id of element which describes what is being loaded */ 'aria-labelledBy'?: string; } export declare const Spinner: React.FunctionComponent<SpinnerProps>; //# sourceMappingURL=Spinner.d.ts.map