react-cards

0.2.2 • Public • Published

React Cards

A Simple React Component

DEMO

Install

npm install --save react-cards

Settings

import React from 'react';
import ReactDom from 'react-dom';
import Card from 'react-cards';
 
class App extends React.Component {
  render() {
    return (
      <Card
        src='path/to/img'
        titleSmallWord='Small word'
        titleBigWord='Big word'
        color='Overlay color'>
        Whatever text Here
      </Card>
    );
  }
}
 
ReactDom.render(<App />, document.getElementById('App'));

Package Sidebar

Install

npm i react-cards

Weekly Downloads

4

Version

0.2.2

License

MIT

Last publish

Collaborators

  • halfeld