diff --git a/src/screen/FindpwScreen/Button.js b/src/screen/FindpwScreen/Button.js new file mode 100644 index 0000000..85b4e27 --- /dev/null +++ b/src/screen/FindpwScreen/Button.js @@ -0,0 +1,36 @@ +import React from 'react'; +import {Pressable, StyleSheet, Text} from 'react-native'; + +import Colors from '../../constants/Color'; + +const Button = ({text, style, navigation}) => { + const screen = { + 비밀번호 찾기: 'Verifycode', + }[text]; + + const handlePress = () => { + navigation.navigate(screen); + }; + + return ( + + {text} + + ); +}; + +const styles = StyleSheet.create({ + container: { + alignItems: 'center', + alignSelf: 'stretch', + backgroundColor: Colors.GREY_SECONDARY, + height: 32, + justifyContent: 'center', + }, + text: { + color: Colors.BLACK, + fontSize: 15, + }, +}); + +export default Button; diff --git a/src/screen/FindpwScreen/index.js b/src/screen/FindpwScreen/index.js new file mode 100644 index 0000000..c15ef9d --- /dev/null +++ b/src/screen/FindpwScreen/index.js @@ -0,0 +1,81 @@ +import React from 'react'; +import {StyleSheet, Text, View, TextInput} from 'react-native'; +import {SafeAreaView} from 'react-native-safe-area-context'; + +import Colors from '../../constants/Color'; +import Button from './Button'; + +const FindpwScreen = ({navigation}) => { + return ( + + 배달N + 비밀번호 찾기 + + + 이름 + + + + 전화번호 + + + + 이메일 + + + +