UNPKG

react-audio-player-component

Version:

A mobile-friendly audio player for React with a modern look and convenient usage.

14 lines (13 loc) 419 B
import { type ReactElement } from "react"; interface Props { current: number; setCurrent: (c: number) => void; total: number; showTrack?: boolean; showKnob?: boolean; trackHeight?: number; color?: string; "data-testid"?: string; } declare const TrackBar: ({ current, setCurrent, total, showTrack, showKnob, trackHeight, color, ...rest }: Props) => ReactElement; export default TrackBar;