Hiyve Components - v1.0.0
    Preparing search index...

    Interface RecordingControlsProps

    Props for the RecordingControls component.

    The RecordingControls component provides a UI for starting and stopping recordings with configurable options. It supports both full and compact modes for different layout needs.

    <RecordingControls
    isRecording={isRecording}
    onStartRecording={(options) => {
    startRecording(options);
    }}
    onStopRecording={() => {
    stopRecording();
    }}
    duration={recordingDuration}
    showOptions
    />
    interface RecordingControlsProps {
        compact?: boolean;
        disabled?: boolean;
        duration?: number;
        icons?: Partial<RecordingControlsIcons>;
        isRecording: boolean;
        labels?: Partial<RecordingControlsLabels>;
        onStartRecording: (options?: RecordingOptions) => void;
        onStopRecording: () => void;
        options?: RecordingOptions;
        showOptions?: boolean;
        styles?: Partial<RecordingControlsStyles>;
        sx?: SxProps<Theme>;
    }
    Index

    Properties

    compact?: boolean

    Use compact button style (default: false)

    disabled?: boolean

    Whether the control is disabled

    duration?: number

    Recording duration in seconds (for display)

    icons?: Partial<RecordingControlsIcons>

    Custom icons

    isRecording: boolean

    Whether recording is currently active

    labels?: Partial<RecordingControlsLabels>

    Custom labels for i18n support

    onStartRecording: (options?: RecordingOptions) => void

    Callback when recording starts

    onStopRecording: () => void

    Callback when recording stops

    Recording options to show (default: all)

    showOptions?: boolean

    Show options panel (default: true)

    styles?: Partial<RecordingControlsStyles>

    Custom styles

    sx?: SxProps<Theme>

    MUI sx styling prop