diff --git a/src/components/CheckbBox2.js b/src/components/CheckbBox2.js index c51960e..19b6018 100644 --- a/src/components/CheckbBox2.js +++ b/src/components/CheckbBox2.js @@ -23,9 +23,9 @@ const styles = StyleSheet.create({ // justifyContent: "flex-start", // alignItems: "center", flexDirection: "row", - width: 20, + width: 25, marginTop: 28, - marginHorizontal: 5, + marginHorizontal: 8, }, title: { fontSize: 18, diff --git a/src/components/Checkbox.js b/src/components/Checkbox.js index bad5146..235c8b3 100644 --- a/src/components/Checkbox.js +++ b/src/components/Checkbox.js @@ -24,7 +24,7 @@ const styles = StyleSheet.create({ // justifyContent: "flex-start", // alignItems: "center", flexDirection: "row", - width: 20, + width: 250, marginTop: 30, marginHorizontal: 5, }, diff --git a/src/navigations/AuthStack.js b/src/navigations/AuthStack.js index 4bd09b8..f99663e 100644 --- a/src/navigations/AuthStack.js +++ b/src/navigations/AuthStack.js @@ -13,7 +13,6 @@ import PrivacyPoliceScreen from '../screens/PrivacyPolicyScreen'; import CalanderView from '../screens/Calendar/CalendarView'; import ToDo from '../screens/Calendar/ToDo'; // import Diary from '../screens/Diary2'; -import Diary from '../screens/Diary'; import Diary3 from '../screens/Diary3'; import { AuthRoutes } from './routes'; diff --git a/src/screens/Calendar/ToDo.js b/src/screens/Calendar/ToDo.js index 04f5f8c..9fcf5b1 100644 --- a/src/screens/Calendar/ToDo.js +++ b/src/screens/Calendar/ToDo.js @@ -25,7 +25,6 @@ import { import BottomSheet from './BottomSheet'; import Button2 from '../../components/Button2'; import CheckBox2 from '../../components/CheckbBox2'; - import { CheckBox3 } from '@rneui/themed'; @@ -93,7 +92,7 @@ import { - setShopping(!isShop)} title="장보기" isChecked={isShop} diff --git a/src/screens/Diary.js b/src/screens/Diary.js deleted file mode 100644 index 4b39940..0000000 --- a/src/screens/Diary.js +++ /dev/null @@ -1,195 +0,0 @@ -import { - Keyboard, - KeyboardAvoidingView, - Platform, - Pressable, - StyleSheet, - View, - Text, -} from 'react-native'; -import Input, { KeyboardTypes, ReturnKeyTypes } from '../components/Input'; -import { useEffect, useState } from 'react'; -import Button from '../components/Button'; -import { useNavigation } from '@react-navigation/native'; -import { AuthRoutes } from '../navigations/routes'; -import Logo from '../components/Logo'; - - -const Diary = () => { - const [email, setEmail] = useState(''); - const [password, setPassword] = useState(''); - const [disabled, setDisabled] = useState(true); - const navigation = useNavigation(); - - useEffect(() => { - setDisabled(!(email.trim() && password.trim())); - }, [email, password]); - - const onSubmit = () => { - Keyboard.dismiss(); - }; - - return ( - - Keyboard.dismiss()}> - - - - - setEmail(email.trim())} - /> - setPassword(password.trim())} - onSubmitEditing={onSubmit} - /> - -