mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
docs(progress-indicator): add invalid step example
This commit is contained in:
parent
68c46e1ca7
commit
6547e15dd7
1 changed files with 17 additions and 0 deletions
|
@ -59,6 +59,23 @@ When programmatically updating the `currentIndex`, keep in mind that only comple
|
||||||
|
|
||||||
<FileSource src="/framed/ProgressIndicator/ProgrammaticProgressIndicator" />
|
<FileSource src="/framed/ProgressIndicator/ProgrammaticProgressIndicator" />
|
||||||
|
|
||||||
|
### Invalid step
|
||||||
|
|
||||||
|
<ProgressIndicator>
|
||||||
|
<ProgressStep complete
|
||||||
|
label="Step 1"
|
||||||
|
description="The progress indicator will listen for clicks on the steps"
|
||||||
|
/>
|
||||||
|
<ProgressStep invalid
|
||||||
|
label="Step 2"
|
||||||
|
description="The progress indicator will listen for clicks on the steps"
|
||||||
|
/>
|
||||||
|
<ProgressStep
|
||||||
|
label="Step 3"
|
||||||
|
description="The progress indicator will listen for clicks on the steps"
|
||||||
|
/>
|
||||||
|
</ProgressIndicator>
|
||||||
|
|
||||||
### Spaced-equally
|
### Spaced-equally
|
||||||
|
|
||||||
<ProgressIndicator spaceEqually>
|
<ProgressIndicator spaceEqually>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue