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

    Interface CreateCompositionDialogProps

    Props for CreateCompositionDialog.

    interface CreateCompositionDialogProps {
        defaultName?: string;
        error?: string | null;
        isCreating?: boolean;
        labels?: Partial<CreateCompositionDialogLabels>;
        onClose: () => void;
        onCreate: (
            fileId: string,
            fileName: string,
            fileData: ClipCompositionFile,
        ) => void;
        open: boolean;
    }
    Index

    Properties

    defaultName?: string

    Default name for the composition

    error?: string | null

    External error message (overrides internal)

    isCreating?: boolean

    External creating state (overrides internal)

    Custom labels

    onClose: () => void

    Called when the dialog is closed

    onCreate: (
        fileId: string,
        fileName: string,
        fileData: ClipCompositionFile,
    ) => void

    Called when a composition is successfully created

    open: boolean

    Whether the dialog is open