mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-02 10:53:33 +00:00
13 lines
486 B
TypeScript
13 lines
486 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>
|
|
);
|
|
};
|