-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39 from kanzitelli/v6.0.0
v6.0.0
- Loading branch information
Showing
21 changed files
with
1,589 additions
and
1,326 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 |
---|---|---|
|
@@ -29,6 +29,7 @@ | |
}, | ||
"web": { | ||
"favicon": "./assets/favicon.png" | ||
} | ||
}, | ||
"plugins": ["expo-localization"] | ||
} | ||
} |
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,50 @@ | ||
import React, {useEffect} from 'react'; | ||
import {ScrollView} from 'react-native'; | ||
import {View} from 'react-native-ui-lib'; | ||
import {observer} from 'mobx-react'; | ||
import {useNavigation} from '@react-navigation/native'; | ||
import {NavioScreen} from 'rn-navio'; | ||
|
||
import {services, useServices} from '@app/services'; | ||
import {useAppearance} from '@app/utils/hooks'; | ||
import {NavioSection} from '@app/components/sections/NavioSection'; | ||
|
||
export type Props = { | ||
type?: 'push'; | ||
}; | ||
|
||
export const Example: NavioScreen<Props> = observer(({type = 'push'}) => { | ||
useAppearance(); // for Dark Mode | ||
const navigation = useNavigation(); | ||
const {t, navio} = useServices(); | ||
// const {ui} = useStores(); | ||
|
||
// State | ||
|
||
// Methods | ||
|
||
// Start | ||
useEffect(() => { | ||
configureUI(); | ||
}, []); | ||
|
||
// UI Methods | ||
const configureUI = () => { | ||
navigation.setOptions({}); | ||
}; | ||
|
||
// UI Methods | ||
|
||
return ( | ||
<View flex bg-bgColor> | ||
<ScrollView contentInsetAdjustmentBehavior="always"> | ||
<NavioSection /> | ||
</ScrollView> | ||
</View> | ||
); | ||
}); | ||
|
||
Example.options = props => ({ | ||
headerBackTitleStyle: false, | ||
title: `${services.t.do('example.title')} ${(props?.route?.params as Props)?.type ?? ''}`, | ||
}); |
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
Oops, something went wrong.