Skip to content

Instantly share code, notes, and snippets.

@chuck0523
Created March 20, 2016 17:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuck0523/61fbad6e1fcf2a995d71 to your computer and use it in GitHub Desktop.
Save chuck0523/61fbad6e1fcf2a995d71 to your computer and use it in GitHub Desktop.
import React from 'react'
import Page from './Page'
import Data from '../data/slide'
const Slide = () => (
<div>
{Data.map((slide, index) =>
<Page
key={index+1}
{...slide}
/>
)}
</div>
)
export default Slide
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment