When you have completed the assignment, please:

Assignment: React JS component (estimate completion time ~ 1 hour)

Watch the video https://streamable.com/ulyfr (linked below), observe that for all tap and drag events, there is a blue dot ripple showing the event action.

Write a React component that:

  1. Replicates the touch / drag ripple for Touch as well as Mouse events (meaning it should work both on mobile and desktop devices).
  2. Handles multiple touches on a touch device.
  3. Rejects emulated mouse events.
  4. Is able to be used directly by any React project.