mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
14 lines
466 B
TypeScript
14 lines
466 B
TypeScript
import { AnimatePresence } from 'framer-motion';
|
|
import { FullScreenPlayer } from '/@/renderer/features/player/components/full-screen-player';
|
|
import { useFullScreenPlayerStore } from '/@/renderer/store';
|
|
|
|
export const FullScreenOverlay = () => {
|
|
const { expanded: isFullScreenPlayerExpanded } = useFullScreenPlayerStore();
|
|
|
|
return (
|
|
<AnimatePresence initial={false}>
|
|
{isFullScreenPlayerExpanded && <FullScreenPlayer />}
|
|
</AnimatePresence>
|
|
);
|
|
};
|