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

    Interface NavigationGuardResult

    Return type of useNavigationGuard.

    interface NavigationGuardResult {
        cancel: () => void;
        confirm: () => void;
        dialogOpen: boolean;
    }
    Index

    Properties

    cancel: () => void

    Call this when the user cancels and wants to stay.

    confirm: () => void

    Call this when the user confirms they want to leave.

    dialogOpen: boolean

    Whether the confirmation dialog should be shown.