react-pokemon-gif
This is a react component that renders an animated sprite of a pokemon. The sprites are from Pokestadium.
Installation
Requirements
Node.js v6+
API - Props
pokemon
: string or number
The identifier for a specific pokemon. If type string, a valid pokemon name is expected. If type number, a valid pokedex number (1 - 721) is expected.
Optional
height
: number
The value representing the height of the sprite, in pixels.
className
: string
The class name to be added to image element.
Example
Contributing
Issues and pull requests are welcome.
Please run linting and tests prior to commits.