1.1.0 • Published 8 years ago
lyef-pokemon v1.1.0
Lyef Pokemon

A react component to show any pokemon from different generations.
Demo
Installation
$ npm install --save lyef-pokemonRemember to import the styles on css/main.css folder to your project.
Basic Usage
import Pokemon from 'lyef-pokemon';
...
render() {
return (
<Pokemon name="pikachu" gen="black-white" label />
);
}
...Props
name(string) - pokemon name - requiredgen(string) - generation 'sun-moon', 'xy', 'black-white', 'diamond-pearl', 'emerald', 'silver', 'green' - defaults toxylabel(bool) - show pokemon name
Architecture
We've developed this component using the following boilerplate: lyef-react-component.
To know more about the architecture or if you want to contribute with this component: Contributing Documentation.
