UNPKG

material-ui-audio-player

Version:
21 lines (20 loc) 804 B
import * as React from 'react'; import { IAudioPlayerColors, Icons } from './AudioPlayer'; export declare const useComponentStyles: (props: any) => Record<"icon" | "commonContainer" | "sliderContainer" | "slider" | "volumeIconContainer" | "volumeControlContainer", string>; interface IPlayerVolume { status: string; value: number; } interface IAudioDownloadsControl { playerColors: IAudioPlayerColors; volume: IPlayerVolume; muted?: Boolean | null; muteAudio: () => void; unmuteAudio: () => void; changeAudioVolume: (value: any) => void; icons?: Icons; classNames?: any; } export declare const AudioVolumeControl: React.FunctionComponent<IAudioDownloadsControl>; declare const _default: React.NamedExoticComponent<IAudioDownloadsControl>; export default _default;