Confirm a multisg transaction via the safe-apps-react-sdk

I am building a Safe App (Apps in the lateral navbar → My custom app) which is a basic React app.

My custom Safe app allows a UserA to send a transaction and UserB to sign/confirm it. Basically a 2 out of 2 multi-sig where a party sends a transaction, and the other party signs it.

The UserA can send the transaction via React using the safe-apps-react-sdk (safe-apps-sdk/packages/safe-apps-react-sdk at main · safe-global/safe-apps-sdk · GitHub) Example:

const { safe } = useSafeAppsSDK();

const txs = [
        {
          to: address,
          value: 10,
          data: "0x", 
        },
      ];

const txResponse = await sdk.txs.send({ txs });

I am struggling to understand how UserB (the confirmation party) can confirm the transaction via the safe-apps-react-sdk.

I understand this is possible using the safe-apps-sdk, but this is for the backend, requiring NodeJs. I need to use safe-apps-react-sdk because I want to do everything via the frontend.

Hi, for developer support, please post your question here - Newest 'safe-core' Questions - Ethereum Stack Exchange Please be as detailed as possible and don’t forget to add safe-core tag to your question

StackOverflow’s guide to asking a good question may be helpful: How do I ask a good question? - Help Center - Stack Overflow