i want to display a button only on mobile and desktop devices. if user is using application on tablet device i dont want to display the button using react and typescript.
below is my code,
function Parent() {
return(
<button>hide me </button>
);
}
I am new to programming. could someone help me with this. thanks.