docs(progress-indicator): add invalid step example

This commit is contained in:
Eric Liu 2021-02-17 10:46:36 -08:00
commit 6547e15dd7

View file

@ -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>