a tag button link code example
Example 1: button href
<a href="https://google.com" class="button">Go to Google</a> //*button link *//
Example 2: button with href
onClick={() => {window.location.href="https://www.golfballs.com/"}}
<a href="https://google.com" class="button">Go to Google</a> //*button link *//
onClick={() => {window.location.href="https://www.golfballs.com/"}}