Skip to content

Commit ec40ede

Browse files
Rearranged example wizard page order
1 parent 9a29644 commit ec40ede

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/screens/wizardExample/components/WizardExampleContainer.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const PageWithProps = ({ passedInData }) => (
1616
</WizardPage>
1717
);
1818

19-
const PageTwo = () => (
19+
const SimplePage = () => (
2020
<WizardPage>
2121
<h1>Page 4</h1>
2222
</WizardPage>
@@ -44,21 +44,21 @@ class WizardExampleContainer extends Component {
4444
<h1>Authenticated Page</h1>
4545
<Wizard
4646
pages={[
47+
{
48+
component: SimplePage,
49+
title: "Step 1: Page with initializations"
50+
},
4751
{
4852
component: PageWithProps,
4953
props: { passedInData: "Some passed in text" },
50-
title: "Step 1: Page with Props"
54+
title: "Step 2: Page with Props"
5155
},
5256
{
5357
component: PageWithValidations,
54-
title: "Step 2: Page Validation Logic"
58+
title: "Step 3: Page Validation Logic"
5559
},
5660
{
5761
component: PageWithInitializations,
58-
title: "Step 3: Page with initializations"
59-
},
60-
{
61-
component: PageTwo,
6262
title: "Step 4: Page with initializations"
6363
}
6464
]}

0 commit comments

Comments
 (0)