SpectrogramProps
type SpectrogramProps = UseSpectrogramOptions & object;Props for the Spectrogram component.
Type Declaration
Section titled “Type Declaration”canvasProps?
Section titled “canvasProps?”optional canvasProps?: HTMLAttributes<HTMLCanvasElement>;className?
Section titled “className?”optional className?: string;height?
Section titled “height?”optional height?: number | string;playheadClassName?
Section titled “playheadClassName?”optional playheadClassName?: string;playheadStyle?
Section titled “playheadStyle?”optional playheadStyle?: CSSProperties;showAudioControls?
Section titled “showAudioControls?”optional showAudioControls?: boolean;showPlayhead?
Section titled “showPlayhead?”optional showPlayhead?: boolean;style?
Section titled “style?”optional style?: CSSProperties;width?
Section titled “width?”optional width?: number | string;