wavesurfer-react
Version:
react wrapper for wavesurfer.js
6 lines (5 loc) • 606 B
TypeScript
import { WaveSurferOptions } from "wavesurfer.js";
import { WaveFormProps } from "../components/WaveForm";
export declare const waveFormPropsList: readonly ["audioRate", "autoCenter", "backend", "barGap", "barHeight", "barRadius", "barWidth", "cursorColor", "cursorWidth", "fillParent", "height", "hideScrollbar", "interact", "media", "mediaControls", "minPxPerSec", "normalize", "progressColor", "splitChannels", "waveColor", "duration", "fetchParams"];
declare const getWaveFormOptionsFromProps: (props: WaveFormProps) => Omit<WaveSurferOptions, "container">;
export default getWaveFormOptionsFromProps;