1.0.30 • Published 1 year ago

@mountainpass/react-pokemon-cards v1.0.30

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

react-pokemon-cards

Pokemon Cards CSS Holographic effects

NPM JavaScript Style Guide

Behaviour

This library provides a React component, which styles a component in Pokemon Cards CSS Holographic effects.

Example

Please see the Homepage.

Install

npm install --save @mountainpass/react-pokemon-cards

Usage

Please see the Example.

or

TLDR;

import ShinyCard from '@mountainpass/react-pokemon-cards'
import '@mountainpass/react-pokemon-cards/dist/css/cards.css'

const App = () => (
  <ShinyCard rarity='rare holo' style={{ width: '300px', height: '400px' }}>
      Here is some content
  </ShinyCard>
)

License

GNU GENERAL PUBLIC LICENSE