display an url in a button react code example Example: react open url with button window.open(newPageUrl, "_blank")