diff --git a/app/components/auth/showcase/story-steps.tsx b/app/components/auth/showcase/story-steps.tsx new file mode 100644 index 0000000..d20f9c6 --- /dev/null +++ b/app/components/auth/showcase/story-steps.tsx @@ -0,0 +1,24 @@ +import { StoryStep } from '~/components/auth/showcase/story-step'; +import { LOGIN_STORY } from '~/data/auth/constants'; +import { cn } from '~/lib/utils'; + +interface StoryStepsProps { + layout: 'card' | 'pill'; + active: number; + cycle: number; + onSelect: (step: number) => void; + onComplete: () => void; + className?: string; +} + +export function StorySteps({ layout, active, cycle, onSelect, onComplete, className }: StoryStepsProps) { + return ( +
    + {LOGIN_STORY.map((step, i) => ( +
  1. + onSelect(i)} onComplete={onComplete} /> +
  2. + ))} +
+ ); +}