fix(progress-indicator): don't overwrite explicit "complete" on step
MODIFY
packages/react/src/components/ProgressIndicator/ProgressIndicator.js
packages/react/src/components/ProgressIndicator/ProgressIndicator.js
@@ -285,7 +285,7 @@ export class ProgressIndicator extends Component {
}
if (index > this.state.currentIndex) {
return React.cloneElement(child, {
- complete: false,
+ complete: child.props.complete || false,
index,
onClick,
});

fix(progress-indicator): don't overwrite explicit "complete" on step (#7345)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>