blob: 3f8306ffbcf633e28aa396a5d184e35adc5300a9 [file] [log] [blame]
interface Props {
duration: number;
currentTime: number;
}
/** A component that displays video info. */
export function VideoInfo({duration, currentTime}: Props) {
return `<div>${currentTime} / ${duration}</div>`;
}