Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Match - 2 instances
./components/A.js:1,36
import React, { Component } from 'react';
import { Link } from 'react-router';
import ExpandImage from '../containers/assets/icon_expand.svg';
import mapUS from '../containers/assets/map-us.svg';
import mapEurope from '../containers/assets/map-europe.svg';
import mapAsia from '../containers/assets/map-asia.svg';
const regions = [
{
img: mapUS,
name: "US",
units: 10,
growth: 20
},
{
img: mapEurope,
name: "Europe",
units: 15,
growth: 30
},
{
img: mapAsia,
name: "Asia",
units: 20,
growth: 40
}
];
class Map extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="row img-map">
./components/B.js:1,36
import React, { Component } from 'react';
import { Link } from 'react-router';
import ExpandImage from '../containers/assets/icon_expand.svg';
import mapUS from '../containers/assets/map-us.svg';
import mapEurope from '../containers/assets/map-europe.svg';
import mapAsia from '../containers/assets/map-asia.svg';
const regions = [
{
img: mapUS,
name: "US",
units: 10,
growth: 20
},
{
img: mapEurope,
name: "Europe",
units: 15,
growth: 30
},
{
img: mapAsia,
name: "Asia",
units: 20,
growth: 40
}
];
class Map extends Component {
constructor(props) {
super(props);
}
render() {
return (
<div className="row img-map">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment