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
Copy file name to clipboardExpand all lines: components/progress-indicator/index.jsx
+4-5Lines changed: 4 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -24,15 +24,13 @@ const propTypes = {
24
24
/**
25
25
* **Assistive text for accessibility**
26
26
* This object is merged with the default props object on every render.
27
-
* * `activeStep`: Label for the active step. The default is `Active Step`
28
27
* * `completedStep`: Label for a completed step. The default is `Completed Step`
29
28
* * `disabledStep`: Label for disabled step. The default is `Disabled Step`
30
29
* * `errorStep`: Label for a step with an error. The default is `Error Step`
31
30
* * `percentage`: Label for Progress Bar. The default is `Progress: [this.props.value]%`. You will need to calculate the percentage yourself if changing this string.
32
31
* * `step`: Label for a step. It will be typically followed by the number of the step such as "Step 1".
33
32
*/
34
33
assistiveText: PropTypes.shape({
35
-
activeStep: PropTypes.string,
36
34
completedStep: PropTypes.string,
37
35
disabledStep: PropTypes.string,
38
36
percentage: PropTypes.string,
@@ -177,9 +175,10 @@ class ProgressIndicator extends React.Component {
177
175
178
176
render(){
179
177
// Merge objects of strings with their default object
0 commit comments