// Metro module 14771 (f14772).
import { ScrollView } from "react-native";
import useWideAuthView from "../../../auth/native/useWideAuthView";
import MfaScreenUtils from "../MfaScreenUtils";
import { SafeAreaPaddingView } from "../../../../components_native/common/SafeAreaView";
import { Stack } from "../../../../design/components/Stack/native/Stack.native";
import { Text } from "../../../../design/components/Text/native/Text";
import BackButton from "../components/BackButton";
import BackgroundImage from "../../../auth/native/components/atoms/BackgroundImage";
export default function MFAOptionScreen(props) {
const { headerText, headerImage, subtitle, input, submit, screenProps, mfaMethod, error, content } = props;
const wideAuthView = useWideAuthView();
const styles = MfaScreenUtils.useScreenStyles(wideAuthView);
const type = screenProps.mfaChallenge.methods[0]?.type;
const r48 = [headerImage != null && headerImage, {headerText}, subtitle != null && {subtitle}, ,];
const r58 = error != null && {error};
let r63 = type === mfaMethod;
r48[3] = r58;
const r68 = [
{r48}
{input}
, content, ,];
const r74 = [submit, ,];
if (r63) {
r63 = ;
}
r74[1] = r63;
r68[2] = {r74};
const r79 = {r68};
return <>
{wideAuthView ? {r79} : r79}
>;
};