Created
November 7, 2018 03:49
-
-
Save mxdi9i7/f6bb0b3e99b2f5cc00f5a00f1570d3a7 to your computer and use it in GitHub Desktop.
Location component
This file contains 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, { Component } from 'react' | |
import { locations } from '../../utils/data' | |
export default class LocationPage extends Component { | |
render() { | |
return ( | |
<div> | |
{ | |
locations.map(location => ( | |
<div> | |
{/* map your location information here */} | |
</div> | |
)) | |
} | |
</div> | |
) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment