ChemPal Documentation - v1.6.0
    Preparing search index...

    Props for MigrationPrompt.

    • open - Whether the modal is shown.
    • steps - The pending migration steps to list.
    • busy - Disables both buttons while an action is in flight.
    • error - Optional error message shown when applying failed.
    • onApply - Invoked when the user chooses to apply the updates.
    • onCancel - Invoked when the user chooses to clear the cache and start fresh.
    interface MigrationPromptProps {
        open: boolean;
        steps: Migration[];
        busy?: boolean;
        error?: string;
        onApply: () => void;
        onCancel: () => void;
    }
    Index

    Properties

    open: boolean
    steps: Migration[]
    busy?: boolean
    error?: string
    onApply: () => void
    onCancel: () => void