import { useLocale } from "@calcom/lib/hooks/useLocale"; import { Label, Input } from "@calcom/ui"; type Digit = { value: number; onChange: () => void; }; type PropType = { digits: Digit[]; digitClassName: string; }; const TokenHandler = ({ digits, digitClassName }: PropType) => { const { t } = useLocale(); return (
{digits.map((element, index) => ( ))}
); }; export default TokenHandler;