13 lines
529 B
TypeScript
13 lines
529 B
TypeScript
// Metro module 14773 (f14774).
|
|
import { useNavigation } from "../../../../design/components/Navigator/native/useNavigation.native";
|
|
import MFAButton from "./button";
|
|
import { intl, t } from "../../../../intl/index.native";
|
|
import { MfaScreens } from "../MfaStepsTypes";
|
|
export default function BackButton(props2) {
|
|
const props = props2.props;
|
|
const navigation = useNavigation();
|
|
return <MFAButton variant="secondary" text={intl.string(t.Tot4EC)} onPress={() => {
|
|
navigation.push(MfaScreens.SELECT, props);
|
|
}} />;
|
|
};
|