I’m trying to create an extension with a button showing an image and some text, which links to an external website.
The issue I’m having is that both the <Button to="..."> and <Pressable to="..."> components result in a link with no target set, and so navigate the current window rather than opening a new tab.
It is possible to use <Link to="..." external={true}>...</Link>, which does set target="_blank" and rel="noopener noreferrer" as I would expect, but this unfortunately results in sub-optimal styling.
Is there any chance that an external option could be added to Button/Pressable or some other way of specifying this?
Same, I hope that simply add an external property or something to the <Button> component, that seems like the more straightforward way to handle this kind of behavior.
In a perfect world, we could run our apps in an embedded iframe in the checkout so that way we don’t have to have the customer jump to a different tab, I’m sure that hurts conversion rates.