This file contains hidden or 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
import React from 'react'; | |
import { Drawer, DrawerElement, MenuItemType } from 'react-native-ui-kitten'; | |
import { InfoIcon, LogoutIcon } from '@app-assets/icons'; | |
import { AppRoute } from '@app-navigation/app-routes'; | |
import { SafeAreaLayout, SaveAreaInset} from '@app-components/safe-area-layout.component'; | |
const drawerData: MenuItemType[] = [ | |
{ icon: InfoIcon, title: 'About' }, | |
{ icon: LogoutIcon, title: 'Log Out' }, | |
]; |
This file contains hidden or 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
import React from 'react'; | |
import { TabBar, Tab, Divider } from 'react-native-ui-kitten'; | |
import { SafeAreaLayout, SaveAreaInset, SafeAreaLayoutElement } from '@app-components/safe-area-layout.component'; | |
import { Toolbar } from '@app-components/toolbar.component'; | |
import { DoneAllIcon, GridIcon, MenuIcon } from '@app-assets/icons'; | |
export const TodoScreen = (props): SafeAreaLayoutElement => { | |
const onTabSelect = (index: number): void => { | |
const { [index]: selectedTabRoute } = props.state.routeNames; |
This file contains hidden or 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
import React from 'react'; | |
import { BottomNavigation, BottomNavigationTab, Divider } from 'react-native-ui-kitten'; | |
import { SafeAreaLayout, SafeAreaLayoutElement, SaveAreaInset } from '@app-components/safe-area-layout.component'; | |
import { LayoutIcon, PersonIcon } from '@app-assets/icons'; | |
export const BottomHomeScreen = (props): SafeAreaLayoutElement => { | |
const onSelect = (index: number): void => { | |
const { [index]: selectedRoute } = props.state.routeNames; | |
props.navigation.navigate(selectedRoute); |
This file contains hidden or 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
import React from 'react'; | |
import { TabBar, Tab, Divider } from 'react-native-ui-kitten'; | |
import { SafeAreaLayout, SaveAreaInset, SafeAreaLayoutElement } from '@app-components/safe-area-layout.component'; | |
import { Toolbar } from '@app-components/toolbar.component'; | |
import { DoneAllIcon, GridIcon } from '@app-assets/icons'; | |
export const TodoScreen = (props): SafeAreaLayoutElement => { | |
const onTabSelect = (index: number): void => { | |
const { [index]: selectedTabRoute } = props.state.routeNames; |