feat: 회원가입 화면 생성

This commit is contained in:
2026-01-01 19:23:19 +09:00
parent 8829a44b88
commit 014cb61734
6 changed files with 185 additions and 26 deletions

View File

@@ -1,7 +1,9 @@
import AsyncStorage from "@react-native-async-storage/async-storage";
import { Button, StyleSheet, View } from "react-native";
import { useAuth } from "../store/auth";
export default function HomeScreen() {
const { signOut } = useAuth();
return (
<View style={styles.container}>
<Button
@@ -12,6 +14,7 @@ export default function HomeScreen() {
console.log(entries);
}}
/>
<Button title="logout" onPress={() => signOut()}></Button>
</View>
);
}