videosphere
    Preparing search index...

    Props for YouTubeImportModal.

    interface YouTubeImportModalProps {
        draftId: string;
        open: boolean;
        onOpenChange: (open: boolean) => void;
        onImportComplete: () => void | Promise<void>;
    }
    Index

    Properties

    draftId: string

    Draft that will receive the imported video.

    open: boolean

    Whether the modal is open.

    onOpenChange: (open: boolean) => void

    Called when the modal open state changes.

    Type Declaration

      • (open: boolean): void
      • Parameters

        • open: boolean

          Next open state.

        Returns void

    onImportComplete: () => void | Promise<void>

    Called when import staging completes so the parent can refresh draft import state.