2020-06-16 17:51:51 +02:00
|
|
|
import React from 'react';
|
|
|
|
|
import { createBottomTabNavigator, BottomTabNavigationOptions } from '@react-navigation/bottom-tabs';
|
|
|
|
|
import Player from './Player';
|
|
|
|
|
import Albums from './Albums';
|
2020-06-16 23:11:05 +02:00
|
|
|
import Settings from './Settings';
|
2020-06-16 17:51:51 +02:00
|
|
|
|
|
|
|
|
const Tab = createBottomTabNavigator();
|
|
|
|
|
|
|
|
|
|
export default function Routes() {
|
|
|
|
|
return (
|
|
|
|
|
<Tab.Navigator>
|
|
|
|
|
<Tab.Screen name="Now Playing" component={Player} />
|
|
|
|
|
<Tab.Screen name="Albums" component={Albums} />
|
2020-06-16 23:11:05 +02:00
|
|
|
<Tab.Screen name="Settings" component={Settings} />
|
2020-06-16 17:51:51 +02:00
|
|
|
</Tab.Navigator>
|
|
|
|
|
);
|
|
|
|
|
}
|