/** * TransitionPreviewOverlay Component * * Full-screen overlay for transition video preview. * Designed to work with useTransitionPlayback hook which manages * video src and playback externally via the videoRef. */ import React from 'react'; interface TransitionPreviewOverlayProps { /** Reference to the video element - useTransitionPlayback manages src and playback */ videoRef: React.RefObject; /** Whether the overlay is visible */ isActive: boolean; /** Whether the video is currently buffering (used to hide video during load) */ isBuffering?: boolean; } const TransitionPreviewOverlay: React.FC = ({ videoRef, isActive, isBuffering = false, }) => { if (!isActive) return null; return (
); }; export default TransitionPreviewOverlay;