next on click link to page code example Example: button with href onClick={() => {window.location.href="https://www.golfballs.com/"}}