Debian Codegraph @

node/@patternfly/react-core/dist/js/components/Spinner/Spinner.d.ts

raw
1 /// <reference types="react" />
2 export declare enum spinnerSize {
3 sm = "sm",
4 md = "md",
5 lg = "lg",
6 xl = "xl"
7 }
8 export interface SpinnerProps extends React.SVGProps<SVGSVGElement> {
9 /** Additional classes added to the Spinner. */
10 className?: string;
11 /** Size variant of progress. */
12 size?: 'sm' | 'md' | 'lg' | 'xl';
13 /** Text describing that current loading status or progress */
14 'aria-valuetext'?: string;
15 /** Diameter of spinner set as CSS variable */
16 diameter?: string;
17 /** Indicates the spinner is inline and the size should inherit the text font size. This will override the size prop. */
18 isInline?: boolean;
19 /** Accessible label to describe what is loading */
20 'aria-label'?: string;
21 /** Id of element which describes what is being loaded */
22 'aria-labelledBy'?: string;
23 }
24 export declare const Spinner: React.FunctionComponent<SpinnerProps>;
25 //# sourceMappingURL=Spinner.d.ts.map