import React from "react"; import { View } from "react-native"; export interface TVProgressBarProps { /** Progress value between 0 and 1 */ progress: number; /** Background color of the track */ trackColor?: string; /** Color of the progress fill */ fillColor?: string; /** Maximum width of the progress bar */ maxWidth?: number; /** Height of the progress bar */ height?: number; } export const TVProgressBar: React.FC = React.memo( ({ progress, trackColor = "rgba(255,255,255,0.2)", fillColor = "#ffffff", maxWidth = 400, height = 4, }) => { const clampedProgress = Math.max(0, Math.min(1, progress)); return ( ); }, );