react-card

1.0.4 • Public • Published

react-card

A react-component that renders a generic card, with both a front and back so that the card can be flipped/rotated with CSS.

NPM

Build Status Test Coverage

js-standard-style Code Climate

Dependencies DevDependencies

Usage

React.render(
  <Card>
    <Card.Front>
 
    </Card.Front>
    <Card.Back>
 
    </Card.Back>
  </Card>,
  document.body
);

Styling

See the demo.css file for sample CSS code you can use to style the component.

License

MIT

Dependents (1)

Package Sidebar

Install

npm i react-card

Weekly Downloads

221

Version

1.0.4

License

MIT

Last publish

Collaborators

  • spudly