File: Spinner.d.ts

package info (click to toggle)
cockpit 355-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 311,568 kB
  • sloc: javascript: 774,787; python: 40,655; ansic: 35,157; cpp: 11,141; sh: 3,512; makefile: 580; xml: 261
file content (25 lines) | stat: -rw-r--r-- 954 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/// <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