import { Text } from "@/components/ui/text"; import { cn } from "@/lib/utils"; export const INVITE_STEP_COUNT = 3; export type InviteStep = 1 | 2 | 3; export type InviteStepHeaderProps = { step: InviteStep; title: string; subtitle: string; }; export function InviteStepHeader({ step, title, subtitle }: InviteStepHeaderProps) { return (
{[1, 2, 3].map((bar) => ( ))}
{`Step ${step} of ${INVITE_STEP_COUNT}`} {title} {subtitle}
); }