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

    Props for the RenameFileDialog component.

    interface RenameFileDialogProps {
        file: FileEntry | null;
        isRenaming?: boolean;
        labels?: {
            cancel?: string;
            error?: string;
            placeholder?: string;
            rename?: string;
            title?: string;
        };
        onClose: () => void;
        onRename: (newName: string) => Promise<void>;
        open: boolean;
    }
    Index

    Properties

    file: FileEntry | null

    File being renamed

    isRenaming?: boolean

    Whether rename is in progress

    labels?: {
        cancel?: string;
        error?: string;
        placeholder?: string;
        rename?: string;
        title?: string;
    }

    Custom labels

    onClose: () => void

    Close dialog handler

    onRename: (newName: string) => Promise<void>

    Rename handler

    open: boolean

    Whether dialog is open