17 lines
394 B
TypeScript
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}
|
|
/>
|
|
);
|
|
} |