-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add tab navigation * add tab icons * update tab bar icon styling * hide tab bar within webview * fix tab bar rendering * fix extra bottom padding * reset back to initial path on tab press * add comments * fix typecheck error
- Loading branch information
1 parent
0773cb1
commit f4ef29a
Showing
32 changed files
with
870 additions
and
188 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ref": true, | ||
"replaceAttrValues": { | ||
"#333333": "{props.color}" | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export { default as ActivityFilled } from './filled/Activity.svg'; | ||
export { default as ActivityOutlined } from './outlined/Activity.svg'; | ||
export { default as HomeFilled } from './filled/Home.svg'; | ||
export { default as HomeOutlined } from './outlined/Home.svg'; | ||
export { default as MessagesFilled } from './filled/Messages.svg'; | ||
export { default as MessagesOutlined } from './outlined/Messages.svg'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import type { NativeStackNavigationOptions } from '@react-navigation/native-stack'; | ||
|
||
import { useIsDarkMode } from './useIsDarkMode'; | ||
|
||
export const useScreenOptions = (): NativeStackNavigationOptions => { | ||
const isDarkMode = useIsDarkMode(); | ||
return { | ||
headerTitle: '', | ||
headerBackTitleVisible: false, | ||
headerShadowVisible: false, | ||
headerStyle: { | ||
backgroundColor: isDarkMode ? '#000' : '#fff', | ||
}, | ||
headerTintColor: isDarkMode ? '#fff' : '#333', | ||
}; | ||
}; |
Oops, something went wrong.