mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
29 lines
874 B
TypeScript
29 lines
874 B
TypeScript
import React, { FC } from 'react';
|
|
|
|
import ResponsiveDrawer, { ResponsiveDrawerProps } from 'components/ResponsiveDrawer';
|
|
|
|
import ServerDrawerSection from './sections/ServerDrawerSection';
|
|
import DevicesDrawerSection from './sections/DevicesDrawerSection';
|
|
import LiveTvDrawerSection from './sections/LiveTvDrawerSection';
|
|
import AdvancedDrawerSection from './sections/AdvancedDrawerSection';
|
|
import PluginDrawerSection from './sections/PluginDrawerSection';
|
|
|
|
const AppDrawer: FC<ResponsiveDrawerProps> = ({
|
|
open = false,
|
|
onClose,
|
|
onOpen
|
|
}) => (
|
|
<ResponsiveDrawer
|
|
open={open}
|
|
onClose={onClose}
|
|
onOpen={onOpen}
|
|
>
|
|
<ServerDrawerSection />
|
|
<DevicesDrawerSection />
|
|
<LiveTvDrawerSection />
|
|
<AdvancedDrawerSection />
|
|
<PluginDrawerSection />
|
|
</ResponsiveDrawer>
|
|
);
|
|
|
|
export default AppDrawer;
|