mirror of
https://github.com/rive-app/rive-react.git
synced 2026-03-13 08:22:30 +08:00
15 lines
283 B
Markdown
15 lines
283 B
Markdown
# Play on hover
|
|
|
|
This provides an example of how to play/pause a Rive animation when the mouse is hovered over it.
|
|
|
|
## To Run
|
|
|
|
This example is created using [Create React App](https://reactjs.org/docs/create-a-new-react-app.html).
|
|
|
|
To install and run:
|
|
|
|
```
|
|
npm install
|
|
npm start
|
|
```
|