import { Progress } from '@/components/ui/progress'; import { Text } from '@/components/ui/text'; import { View } from '@/components/ui/view'; import React, { useState } from 'react'; export function ProgressInteractive() { const [value, setValue] = useState(45); const [isSeking, setIsSeeking] = useState(false); return ( {isSeking ? 'Seeking...' : `Progress: ${Math.round(value)}%`} setIsSeeking(true)} onSeekEnd={() => setIsSeeking(false)} /> Tap or drag to adjust the progress ); }