button with hyperlink html code example
Example 1: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}
Example 2: button href
a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
}