Files
rive-react/examples/play-pause-button/README.md
2021-06-04 19:42:46 +01:00

15 lines
344 B
Markdown

# Play/Pause Buttons
This example shows how we can play/pause the Rive animation on a button click and update the text of the button based on events happening in the runtime.
## 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
```