fieldnotesai
    Preparing search index...

    Function useSos

    • Custom hook to manage the state and handlers for the Emergency SOS modal.

      Parameters

      • OptionalonBeforeCall: () => Promise<void>

        Optional callback to run before the call is placed

      Returns {
          cancel: () => void;
          confirm: () => Promise<void>;
          contact: PrimaryContact;
          open: () => void;
          visible: boolean;
      }