wykryć dotyk reaguj

// Run this
// npm i tappify

import Tappify from "tappify";

function myComponent() {
  return <>
    <Tappify.Finger>
      Client is using finger *tap tap*
    </Tappify.Finger>

    <Tappify.Cursor>
      Client is using mouse cursor *click click*
    </Tappify.Cursor>
  </>
}
Ugliest Unicorn