Files
learn-languages/src/app/(features)/srt-player/components/atoms/SeekBar.tsx
2026-02-06 04:13:50 +08:00

17 lines
394 B
TypeScript

"use client";
import React from "react";
import { SeekBarProps } from "../../types/player";
import { RangeInput } from "@/components/ui/RangeInput";
export function SeekBar({ value, max, onChange, disabled, className }: SeekBarProps) {
return (
<RangeInput
value={value}
max={max}
onChange={onChange}
disabled={disabled}
className={className}
/>
);
}