/* Copyright 2025 New Vector Ltd. Copyright 2023 The Matrix.org Foundation C.I.C. Copyright 2023 New Vector Ltd SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial Please see LICENSE files in the repository root for full details. */ import React, { type ComponentProps, type ComponentRef, forwardRef, type PropsWithoutRef, } from "react"; import styles from "./MFA.module.css"; import classNames from "classnames"; import { Control } from "@radix-ui/react-form"; type DigitProps = { filled: boolean; selected: boolean; }; const Digit: React.FC = ({ filled, selected }) => (