import React from 'react'; import {ICON_SIZE} from './icons.js'; const className = '__remotion_buffering_indicator'; const remotionBufferingAnimation = '__remotion_buffering_animation'; export const bufferingIndicatorStrokeWidth = 3; const playerStyle: React.CSSProperties = { width: ICON_SIZE, height: ICON_SIZE, overflow: 'hidden', lineHeight: 'normal', fontSize: 'inherit', }; const studioStyle: React.CSSProperties = { width: 14, height: 14, overflow: 'hidden', lineHeight: 'normal', fontSize: 'inherit', }; export const BufferingIndicator: React.FC<{ readonly type: 'player' | 'studio'; readonly color?: string; }> = ({type, color = 'white'}) => { const style: React.CSSProperties = type === 'player' ? playerStyle : studioStyle; return ( <>
); };