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

    Interface ClipRecorderProps

    Props for ClipRecorder.

    interface ClipRecorderProps {
        colors: ClipCompositionColors;
        hasExistingClips?: boolean;
        icons: ClipCompositionIcons;
        labels: ClipCompositionLabels;
        maxDuration: number;
        onClose?: () => void;
        onDiscard: () => void;
        onError?: (error: Error) => void;
        onPlayAll?: () => void;
        onSave: (clip: ClipItem) => void;
        onStopAll?: () => void;
        styles: ClipCompositionStyles;
    }
    Index

    Properties

    hasExistingClips?: boolean

    Whether the composition already has clips (enables "play along" option)

    maxDuration: number
    onClose?: () => void

    Close/dismiss the recorder panel

    onDiscard: () => void
    onError?: (error: Error) => void
    onPlayAll?: () => void

    Trigger play-all on existing clips

    onSave: (clip: ClipItem) => void
    onStopAll?: () => void

    Trigger stop-all on existing clips