-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
ebbdba0
commit 79a4a64
Showing
3 changed files
with
68 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,24 @@ | ||
import { TextButton } from '../components'; | ||
import { View } from 'react-native'; | ||
import { CustomButton } from '../components'; | ||
import { PageContainer } from '../components/index'; | ||
import styled from '@emotion/native'; | ||
|
||
const SettingPage = () => { | ||
const SettingPage = ({ navigation: { navigate } }) => { | ||
return ( | ||
<View> | ||
<TextButton buttonColor="aqua" buttonText="로그아웃" /> | ||
<TextButton buttonColor="aqua" buttonText="다크 모드" /> | ||
</View> | ||
<PageContainer> | ||
<CustomButtonWrapper> | ||
<CustomButton | ||
title="Login" | ||
buttonText="로그아웃" | ||
onPress={() => navigate('Stacks', { screen: '로그인' })} | ||
/> | ||
<CustomButton title="Login" buttonText="다크 모드" /> | ||
</CustomButtonWrapper> | ||
</PageContainer> | ||
); | ||
}; | ||
|
||
export default SettingPage; | ||
|
||
const CustomButtonWrapper = styled.View` | ||
margin: -8px 16px 0px; | ||
`; |