Since you have the URL u can use window.open to go to a new page in ur react code.
Instead of creating a widget, would it be easier to just use the Open URL action from the Nanoflow Commons module? You can simply call this from a Nanoflow, passing in the URL you wish to open.
https://docs.mendix.com/appstore/modules/nanoflow-commons/
Hope this helps.