portfolio-card
v1.0.6
Published
Portfolio Card Components for React
Downloads
17
Readme
Portfolio Card Components
A card component for use with React. It takes an array of data and renders card components
Install with npm.
npm install portfolio-card
Use with node.js, webpack and e.g react.js
import Card from 'portfolio-card'
{this.props.projects.map(project => <Card {...project}/>)}
As its props, it takes an array of projects, with the following parameters. Logos should be stored in /public
const projects = [{
name: "Roco Go",
page: '/rocogo',
description:"Home Visit App for mobile employees",
color:"#f6ebd5",
cols:2,
direction:'column',
background:"#212121",
url:"http://malhamcove.io/",
logo: "roco",
key:1,
textOne:"React Native",
textTwo:"Redux",
textThree:"Rails"
}]
License
ISC. Copyright (c) 2017 Gareth Robert Lee.