UNPKG

react-hifi

Version:

A set of react components wich provides simple abstraption to manipulate HTML5 AudioContext API (Equalizer, visualisation, stereo, basic controls)

23 lines (22 loc) 653 B
import React from 'react'; interface ControlsProps { loading: boolean; onPlay: () => void; onPause: () => void; onStop: () => void; onTimeChange: (foo: any) => void; position: number; duration: number; } export declare const BasicControls: React.FunctionComponent<ControlsProps>; interface StereoControlProps { onChange: (foo: any) => void; value: number; } export declare const StereoControl: React.FunctionComponent<StereoControlProps>; interface VolumeControlProps { onChange: (foo: any) => void; value: number; } export declare const VolumeControl: React.FunctionComponent<VolumeControlProps>; export {};