Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

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

Install

npm i react-card

DownloadsWeekly Downloads

50

Version

1.0.4

License

MIT

Last publish

Collaborators

  • avatar