Skip to content

Commit

Permalink
Revert "[REVERT ME] Added a button to display the current status on E…
Browse files Browse the repository at this point in the history
…uiSteps (vertical)"

This reverts commit 93bf421.

Revert change to steps documentation that was strictly meant for testing
  • Loading branch information
breehall committed Aug 8, 2023
1 parent 1792b6c commit b44f6cb
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src-docs/src/views/steps/status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,6 @@ export default () => {
);
}

let currentButton;
if (status !== 'current') {
currentButton = (
<EuiButton color="accent" onClick={() => setStatus('current')}>
Current
</EuiButton>
);
} else {
currentButton = (
<EuiButton color="accent" onClick={() => setStatus('incomplete')}>
Reset
</EuiButton>
);
}

const firstSetOfSteps = [
{
title: 'Normal step',
Expand All @@ -106,7 +91,6 @@ export default () => {
<EuiFlexItem grow={false}> {warningButton} </EuiFlexItem>
<EuiFlexItem grow={false}> {dangerButton} </EuiFlexItem>
<EuiFlexItem grow={false}> {disabledButton} </EuiFlexItem>
<EuiFlexItem grow={false}> {currentButton} </EuiFlexItem>
</EuiFlexGroup>
</>
),
Expand Down

0 comments on commit b44f6cb

Please sign in to comment.