Skip to content

Commit 54c1df1

Browse files
authored
Update common.md (#5914)
Fix: typo in "Animation Event Handler function" example
1 parent cdc9917 commit 54c1df1

File tree

1 file changed

+2
-2
lines changed
  • src/content/reference/react-dom/components

1 file changed

+2
-2
lines changed

src/content/reference/react-dom/components/common.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ An event handler type for the [CSS animation](https://developer.mozilla.org/en-U
326326
```js
327327
<div
328328
onAnimationStart={e => console.log('onAnimationStart')}
329-
onAnimationIteration={e => console.log('onAnimationStart')}
330-
onAnimationEnd={e => console.log('onAnimationStart')}
329+
onAnimationIteration={e => console.log('onAnimationIteration')}
330+
onAnimationEnd={e => console.log('onAnimationEnd')}
331331
/>
332332
```
333333

0 commit comments

Comments
 (0)