import React from 'react';
import { StyleSheet, ScrollView } from 'react-native';
import MediaControls from './components/MediaControls';
import ProgressBar from './components/ProgressBar';
import NowPlaying from './components/NowPlaying';
import Queue from './components/Queue';
import useDefaultStyles from 'components/Colors';

const styles = StyleSheet.create({
    inner: {
        padding: 25,
    }
});

export default function Player() {
    const defaultStyles = useDefaultStyles();
    
    return (
        <ScrollView contentContainerStyle={styles.inner} style={defaultStyles.view}>
            <NowPlaying />
            <MediaControls />
            <ProgressBar />
            <Queue />
        </ScrollView>
    );
}