UNPKG

react-udux-player

Version:

A customizable music player for React applications

6 lines (5 loc) 278 B
import type { RefObject } from "react"; import type { PlayerState, PlayerAction } from "../types"; export declare const usePlayerEffects: (state: PlayerState, dispatch: React.Dispatch<PlayerAction>, playerRef: RefObject<HTMLVideoElement>) => { tracksToPreload: number[]; };