Debian Codegraph @

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

raw
1 /// <reference types="react" />
2 import { TooltipPosition } from '../Tooltip';
3 import { AriaProps } from './ProgressBar';
4 export declare enum ProgressMeasureLocation {
5 outside = "outside",
6 inside = "inside",
7 top = "top",
8 none = "none"
9 }
10 export declare enum ProgressVariant {
11 danger = "danger",
12 success = "success",
13 warning = "warning"
14 }
15 export interface ProgressContainerProps extends Omit<React.HTMLProps<HTMLDivElement>, 'label' | 'title'> {
16 /** Properties needed for aria support */
17 progressBarAriaProps?: AriaProps;
18 /** Progress component DOM ID. */
19 parentId: string;
20 /** Progress title. The isTitleTruncated property will only affect string titles. Node title truncation must be handled manually. */
21 title?: React.ReactNode;
22 /** Label to indicate what progress is showing. */
23 label?: React.ReactNode;
24 /** Type of progress status. */
25 variant?: 'danger' | 'success' | 'warning';
26 /** Location of progress value. */
27 measureLocation?: 'outside' | 'inside' | 'top' | 'none';
28 /** Actual progress value. */
29 value: number;
30 /** Whether string title should be truncated */
31 isTitleTruncated?: boolean;
32 /** Position of the tooltip which is displayed if title is truncated */
33 tooltipPosition?: TooltipPosition | 'auto' | 'top' | 'bottom' | 'left' | 'right' | 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end' | 'left-start' | 'left-end' | 'right-start' | 'right-end';
34 /** Content which can be used to convey additional information about the progress component.
35 * We recommend the helper text component as it was designed for this purpose.
36 */
37 helperText?: React.ReactNode;
38 /** Hide the status icon, helpful when space is limited (such as within table cells) */
39 hideStatusIcon?: boolean;
40 }
41 export declare const ProgressContainer: React.FunctionComponent<ProgressContainerProps>;
42 //# sourceMappingURL=ProgressContainer.d.ts.map