-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create profile screen, add switch button
Signed-off-by: Prakhar Agarwal <[email protected]>
- Loading branch information
1 parent
6f2d81b
commit 2751deb
Showing
10 changed files
with
84 additions
and
13 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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 +1,2 @@ | ||
export * from "./account-screen" | ||
export * from "./profile" |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
import { ScrollView } from "react-native-gesture-handler" | ||
|
||
import { Screen } from "@app/components/screen" | ||
import { makeStyles } from "@rneui/themed" | ||
|
||
export const ProfileScreen: React.FC = () => { | ||
const styles = useStyles() | ||
|
||
return ( | ||
<Screen keyboardShouldPersistTaps="handled"> | ||
<ScrollView contentContainerStyle={styles.outer}></ScrollView> | ||
</Screen> | ||
) | ||
} | ||
|
||
const useStyles = makeStyles(() => ({ | ||
outer: { | ||
marginTop: 4, | ||
paddingHorizontal: 12, | ||
paddingBottom: 20, | ||
display: "flex", | ||
flexDirection: "column", | ||
rowGap: 12, | ||
}, | ||
})) |