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

    Return shape of useReviewPrompt.

    interface UseReviewPrompt {
        notice: undefined | ReviewNotice;
        onReview: () => void;
        onDismiss: () => void;
    }
    Index

    Properties

    notice: undefined | ReviewNotice

    The milestone to celebrate, or undefined when the prompt shouldn't show.

    onReview: () => void

    Opens the Web Store reviews page and silences the prompt permanently.

    onDismiss: () => void

    Snoozes (first time) or silences (thereafter) the prompt.