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. ))}
); }