react-poke-sprites
A react component that renders animated pokemon sprites
Installation
Install the npm module in your app directory.
npm i -S react react-dom react-poke-sprites
Usage
; ReactDOM
Props
-
pokemon - Pass the name or the ID of the pokemon.
-
className - Pass in a class name to modify as you see fit.
Related
- A corresponding Vue.js component is here.
Credits
- Uses pokemon-gif to retrieve links from Pokestadium.
- There's already a component for this here but it wasn't working in my case so I decided to create my own.
Author
Contribute
Found a bug, please create an issue
License
© Anshuman Verma