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

    Props for WhatsNewModal.

    • notice - The release whose notes are shown; undefined renders nothing.
    • open - Whether the modal is visible.
    • onClose - Invoked when the user closes without applying.
    • onApply - Call to action for a pending update. Omit for notes about an already-installed release, which leaves a single acknowledging button.
    interface WhatsNewModalProps {
        notice: undefined | WhatsNewNotice;
        open: boolean;
        onClose: () => void;
        onApply?: () => void;
    }
    Index

    Properties

    notice: undefined | WhatsNewNotice
    open: boolean
    onClose: () => void
    onApply?: () => void