21 lines
1022 B
TypeScript
21 lines
1022 B
TypeScript
// Metro module 16711 (f16712).
|
|
import { useState } from "react";
|
|
import { useNavigation } from "../../../../design/components/Navigator/native/useNavigation.native";
|
|
import SafetyFlowTaskScreen from "../SafetyFlowTaskScreen";
|
|
import { intl } from "../../../../intl/index.native";
|
|
import SafetyFlows_messages from "../../SafetyFlows.messages";
|
|
import { SafetyFlowScreens } from "../../types";
|
|
import { Stack } from "../../../../design/components/Stack/native/Stack.native";
|
|
import { TextInput } from "../../../../design/components/TextInput/native/TextInput.native";
|
|
export default function EnterEmailScreen() {
|
|
const navigation = useNavigation();
|
|
const [value, onChange] = useState("");
|
|
return <SafetyFlowTaskScreen title={intl.string(SafetyFlows_messages.bFbsV6)} action={intl.string(SafetyFlows_messages.RRBNpv)} onAction={() => {
|
|
navigation.push(SafetyFlowScreens.VERIFY_EMAIL);
|
|
}}>
|
|
<Stack>
|
|
<TextInput label="Email" value={value} onChange={onChange} />
|
|
</Stack>
|
|
</SafetyFlowTaskScreen>;
|
|
};
|