Skip to content

Commit 3e9071d

Browse files
committed
chore: tweak wording
1 parent 648e121 commit 3e9071d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

website/docs/UserEvent.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,17 @@ import TOCInline from '@theme/TOCInline';
66

77
<TOCInline toc={toc} />
88

9-
:::note
10-
Requires `@testing-library/react-native` version 12.2.0.
11-
:::
12-
139
:::caution
1410
User Event API is in beta stage.
1511

1612
This means that we plan to keep the public API signatures to remain stable, but we might introduce breaking behavioural changes, e.g. changing the ordering or timing of emitted events, without a major version update. Hopefully, well written code should not rely on such specific details.
1713
:::
1814

15+
:::note
16+
User Event interactions require v12.2.0.
17+
:::
18+
19+
1920
## Comparison with Fire Event API
2021

2122
Fire Event is our original event simulation API. It offers ability to invoke **any event handler** declared on **either host or composite elements**. If the element does not have `onEventName` event handler for passed `eventName` event, or the element is disabled, Fire Event will traverse up the component tree, looking for event handler on both host and composite elements along the way. By default it will **not pass any event data**, but the user might provide it in the last argument.

0 commit comments

Comments
 (0)