You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This object is merged with the default props object on every render.
25
+
* * `activeStep`: Label for the active step. The default is `Active Step`
26
+
* * `completedStep`: Label for a completed step. The default is `Completed Step`
27
+
* * `disabledStep`: Label for disabled step. The default is `Disabled Step`
28
+
* * `errorStep`: Label for a step with an error. The default is `Error Step`
29
+
* * `percentage`: Label for Progress Bar. The default is `Progress: [this.props.value]%`. You will need to calculate the percentage yourself if changing this string.
30
+
* * `step`: Label for a step. It will be typically followed by the number of the step such as "Step 1".
31
+
*/
25
32
assistiveText: PropTypes.shape({
26
-
// percentage: PropTypes.string,
33
+
activeStep: PropTypes.string,
27
34
completedStep: PropTypes.string,
28
-
disabledStep: PropTypes.string
35
+
disabledStep: PropTypes.string,
36
+
percentage: PropTypes.string,
37
+
step: PropTypes.string,
29
38
}),
30
39
/**
31
40
* Id for Steps, ranging in [0, steps.length).
@@ -100,7 +109,7 @@ class Step extends React.Component {
100
109
consticon=renderIcon ? (
101
110
<ButtonIcon
102
111
category="utility"
103
-
name={this.props.isError ? 'warning' : 'success'}
112
+
name={this.props.isError ? 'error' : 'success'}
104
113
/>
105
114
) : null;
106
115
@@ -122,7 +131,7 @@ class Step extends React.Component {
0 commit comments