lyef-pokemon
A react component to show any pokemon from different generations.
Last updated 2 years ago by willianjusten .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lyef-pokemon 
SYNC missed versions from official npm registry.

Lyef Pokemon

Build Status Badge size Badge gzip size NPM version

Pokemons

A react component to show any pokemon from different generations.

Demo

Live examples

Installation

$ npm install --save lyef-pokemon

Remember 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 - required
  • gen (string) - generation ['sun-moon', 'xy', 'black-white', 'diamond-pearl', 'emerald', 'silver', 'green'] - defaults to xy
  • label (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.

License

MIT License @ lyef

Current Tags

  • 1.1.0                                ...           latest (2 years ago)

4 Versions

  • 1.1.0                                ...           2 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (3)
Dev Dependencies (27)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |