> For the complete documentation index, see [llms.txt](https://minwork.gitbook.io/long-press-hook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://minwork.gitbook.io/long-press-hook/advanced/options/react-events.md).

# React events

All [callbacks](/long-press-hook/advanced/options/callbacks.md) receive [React events](https://react.dev/learn/responding-to-events) as first parameter, same as regular component handlers.

```tsx
function SomeComponent() {
  return <div onMouseDown={(event) => { /* ... */ }}>Some content</div>
}
```

Below you can find options helpful for managing those React events.

{% content-ref url="/pages/Zf2mXxgphVStrBh1MHhg" %}
[Persisting event](/long-press-hook/advanced/options/react-events/persisting-event.md)
{% endcontent-ref %}

{% content-ref url="/pages/XC7QJhPUBf15mDFCl0gb" %}
[Filtering events](/long-press-hook/advanced/options/react-events/filtering-events.md)
{% endcontent-ref %}
