UNPKG

react-audio-control-z

Version:
29 lines (28 loc) 882 B
import React from "react"; interface IRecordAudioControl { lengthTime?: number; className?: string; style?: React.CSSProperties; isStarted?: boolean; isPaused?: boolean; isReset?: boolean; isStopped?: boolean; durationTick?: number; iconStartColor?: string; iconPlayColor?: string; iconStopColor?: string; iconPauseColor?: string; iconResetColor?: string; iconDisabledColor?: string; pauseOnStop?: boolean; showButtonNavigation?: boolean; showButtonReset?: boolean; showButtonPlayPause?: boolean; setValue?: (val: number) => void; onStarting?: (isStart: boolean) => void; onPausing?: (isPause: boolean) => void; onCompleted?: () => void; onReset?: () => void; } declare const RecordAudioControl: React.FC<IRecordAudioControl>; export default RecordAudioControl;