File: ProgressStep.d.ts

package info (click to toggle)
cockpit 354-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308,956 kB
  • sloc: javascript: 775,606; python: 40,351; ansic: 35,655; cpp: 11,117; sh: 3,511; makefile: 580; xml: 261
file content (32 lines) | stat: -rw-r--r-- 1,554 bytes parent folder | download | duplicates (8)
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
26
27
28
29
30
31
32
/// <reference types="react" />
export declare enum ProgressStepVariant {
    default = "default",
    pending = "pending",
    success = "success",
    info = "info",
    danger = "danger",
    warning = "warning"
}
export interface ProgressStepProps extends React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> {
    /** Content rendered inside the progress step. */
    children?: React.ReactNode;
    /** Additional classes applied to the progress step container. */
    className?: string;
    /** Variant of the progress step. Each variant has a default icon. */
    variant?: 'default' | 'success' | 'info' | 'pending' | 'warning' | 'danger';
    /** Flag indicating the progress step is the current step. */
    isCurrent?: boolean;
    /** Custom icon of a progress step. Will override default icons provided by the variant. */
    icon?: React.ReactNode;
    /** Description text of a progress step. */
    description?: React.ReactNode;
    /** ID of the title of the progress step. */
    titleId?: string;
    /** Accessible label for the progress step. Should communicate all information being communicated by the progress
     * step's icon, including the variant and the completed status. */
    'aria-label'?: string;
    /** Forwards the step ref to rendered function.  Use this prop to add a popover to the step.*/
    popoverRender?: (stepRef: React.RefObject<any>) => React.ReactNode;
}
export declare const ProgressStep: React.FunctionComponent<ProgressStepProps>;
//# sourceMappingURL=ProgressStep.d.ts.map