// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {HStack} from '@astryxdesign/core/Layout'; import {Stepper, Step} from '@astryxdesign/core/Stepper'; import {Text} from '@astryxdesign/core/Text'; export default function StepStates() { // A Step holds no state of its own — it compares its `step` index against the // Stepper's `activeStep`. Each state below is therefore one Step in its own // Stepper, with activeStep placed on one side of it or the other. return (
Completed
Current
Upcoming
Disabled {}}>
Completed, with a status
); }