Files
jellyfin-audio-player/src/screens/modals/Player/index.tsx

24 lines
853 B
TypeScript
Raw Normal View History

2020-06-16 17:51:51 +02:00
import React from 'react';
import MediaControls from './components/MediaControls';
import ProgressBar from './components/ProgressBar';
import NowPlaying from './components/NowPlaying';
import Queue from './components/Queue';
2022-01-02 22:50:49 +01:00
import ConnectionNotice from './components/ConnectionNotice';
2022-05-05 22:54:37 +02:00
import { GestureHandlerRootView } from 'react-native-gesture-handler';
2022-05-10 23:52:58 +02:00
import StreamStatus from './components/StreamStatus';
2020-06-16 17:51:51 +02:00
export default function Player() {
2020-06-16 17:51:51 +02:00
return (
<GestureHandlerRootView style={{ flex: 1 }}>
<Queue header={(
<>
<NowPlaying />
<ConnectionNotice />
<StreamStatus />
<ProgressBar />
<MediaControls />
</>
)} />
2022-05-05 22:54:37 +02:00
</GestureHandlerRootView>
2020-06-16 17:51:51 +02:00
);
}