Last active
September 15, 2015 17:09
-
-
Save mikeyamadeo/d1df4b1b0b648112b30c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import Job from 'JobComponent' | |
const jobData = { | |
title: "Looking for help", | |
employerId: "uniqueId" | |
} | |
const JobRenderTypes = React.createClass({ | |
render () { | |
return ( | |
<div> | |
<Job data={jobData} renderAs="listing" /> | |
<Job data={jobData} renderAs="heading" /> | |
<Job data={jobData} renderAs="card" /> | |
</div> | |
) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment