import { InputOTPSlot } from '@/components/ui/input-otp';

interface OTPSlotsProps {
    length: number;
}

export default function OTPSlots({ length }: OTPSlotsProps) {
    return (
        <>
            {Array.from({ length }, (_, index) => (
                <InputOTPSlot key={index} index={index} />
            ))}
        </>
    );
}
