// from code.esm.sh import React, {type MouseEvent} from 'react'; import confetti from 'canvas-confetti'; const App = () => { function onMouseMove(e: MouseEvent) { confetti({ particleCount: 5, origin: { x: e.pageX / window.innerWidth, y: (e.pageY + 20) / window.innerHeight, } }); } return (

Hello React! ⚛️

Building user interfaces.

); }; export default App;