react-cards
v0.2.2
Published
A react card
Downloads
46
Maintainers
Readme
React Cards
A Simple React Component
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'));