refactor(removed unused var/import)
Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
This commit is contained in:
parent
8606cbf208
commit
cbf7029c8c
|
@ -6,10 +6,8 @@ import {
|
|||
useRoute,
|
||||
} from '@react-navigation/native'
|
||||
import { NativeStackNavigationOptions } from '@react-navigation/native-stack'
|
||||
import { StackNavigationProp } from '@react-navigation/stack'
|
||||
import { Icon } from '@ui-kitten/components'
|
||||
import React, { useEffect } from 'react'
|
||||
import { StyleProp, TextProps } from 'react-native'
|
||||
import { defaultStackStyling } from '../design/navigationThemes'
|
||||
import { useFeature } from '../hooks/useFeature'
|
||||
import { studentName } from '../utils/peopleHelpers'
|
||||
|
@ -24,7 +22,6 @@ import { NewsList } from './newsList.component'
|
|||
import { NotificationsList } from './notificationsList.component'
|
||||
import { TabBarLabel } from './tabBarLabel.component'
|
||||
|
||||
type ChildNavigationProp = StackNavigationProp<RootStackParamList, 'Child'>
|
||||
type ChildRouteProps = RouteProp<RootStackParamList, 'Child'>
|
||||
|
||||
export type ChildTabParamList = {
|
||||
|
@ -35,11 +32,6 @@ export type ChildTabParamList = {
|
|||
Classmates: undefined
|
||||
}
|
||||
|
||||
// interface TabTitleProps {
|
||||
// children: string;
|
||||
// style?: StyleProp<TextProps>;
|
||||
// }
|
||||
|
||||
const { Navigator, Screen } = createBottomTabNavigator<ChildTabParamList>()
|
||||
|
||||
const NewsScreen = () => <NewsList />
|
||||
|
|
Loading…
Reference in New Issue