| 1 |
/// <reference types="react" /> |
| 2 |
export declare enum ProgressStepVariant { |
| 3 |
default = "default", |
| 4 |
pending = "pending", |
| 5 |
success = "success", |
| 6 |
info = "info", |
| 7 |
danger = "danger", |
| 8 |
warning = "warning" |
| 9 |
} |
| 10 |
export interface ProgressStepProps extends React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement> { |
| 11 |
/** Content rendered inside the progress step. */ |
| 12 |
children?: React.ReactNode; |
| 13 |
/** Additional classes applied to the progress step container. */ |
| 14 |
className?: string; |
| 15 |
/** Variant of the progress step. Each variant has a default icon. */ |
| 16 |
variant?: 'default' | 'success' | 'info' | 'pending' | 'warning' | 'danger'; |
| 17 |
/** Flag indicating the progress step is the current step. */ |
| 18 |
isCurrent?: boolean; |
| 19 |
/** Custom icon of a progress step. Will override default icons provided by the variant. */ |
| 20 |
icon?: React.ReactNode; |
| 21 |
/** Description text of a progress step. */ |
| 22 |
description?: React.ReactNode; |
| 23 |
/** ID of the title of the progress step. */ |
| 24 |
titleId?: string; |
| 25 |
/** Accessible label for the progress step. Should communicate all information being communicated by the progress |
| 26 |
* step's icon, including the variant and the completed status. */ |
| 27 |
'aria-label'?: string; |
| 28 |
/** Forwards the step ref to rendered function. Use this prop to add a popover to the step.*/ |
| 29 |
popoverRender?: (stepRef: React.RefObject<any>) => React.ReactNode; |
| 30 |
} |
| 31 |
export declare const ProgressStep: React.FunctionComponent<ProgressStepProps>; |
| 32 |
//# sourceMappingURL=ProgressStep.d.ts.map |