Skip to content

Commit 33ec22a

Browse files
authored
chore: fix multi-step story (#2973)
Signed-off-by: Akshat Patel <[email protected]>
1 parent 3d4b7ab commit 33ec22a

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/patterns/forms/multi-step-form.stories.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,23 @@ class MultiStepFormStory implements OnInit, OnDestroy {
150150

151151
steps = [
152152
{
153-
text: "Step 1",
154-
state: ["complete"]
153+
label: "Step 1",
154+
complete: true
155155
},
156156
{
157-
text: "Step 2",
158-
state: ["current"]
157+
label: "Step 2",
158+
current: true,
159+
complete: false
159160
},
160161
{
161-
text: "Step 3",
162-
state: ["incomplete"]
162+
label: "Step 3",
163+
complete: false,
164+
invalid: true
163165
},
164166
{
165-
text: "Step 4",
166-
state: ["incomplete"],
167-
optionalText: "Optional"
167+
label: "Step 4",
168+
complete: false,
169+
secondaryLabel: "Optional"
168170
}
169171
];
170172

0 commit comments

Comments
 (0)