@werk1/w1-system-videoblock
Version:
Universal video player supporting YouTube, Vimeo, HLS, DASH with coordination and GSAP integration for W1 System
29 lines (28 loc) • 977 B
TypeScript
import React from 'react';
/**
* Props interface for the FullscreenIcon component
*/
export interface FullscreenIconProps {
/** Whether currently in fullscreen mode */
isFullscreen?: boolean;
/** Color of the icon */
color?: string;
/** Size of the icon */
size?: number;
/** CSS class name */
className?: string;
}
/**
* Modern SVG fullscreen icon component for W1VideoBlock controls
* Shows enter or exit fullscreen icon based on current state
*
* @component
* @param {Object} props - Component props
* @param {boolean} [props.isFullscreen=false] - Whether currently in fullscreen
* @param {string} [props.color='currentColor'] - Color of the icon
* @param {number} [props.size=20] - Size of the icon in pixels
* @param {string} [props.className=''] - Additional CSS class name
* @returns {JSX.Element} Rendered fullscreen icon
*/
export declare const FullscreenIcon: React.FC<FullscreenIconProps>;
export default FullscreenIcon;