Skip to content

Instantly share code, notes, and snippets.

Avatar

Kurt William kurtwilliam

View GitHub Profile
View gist:0e033af34225b45b3bf18712841acdc8
import gql from 'graphql-tag';
import ReactMapboxGl, { Layer, Feature } from 'react-mapbox-gl';
import React from 'react';
import { Query } from 'react-apollo';
const MAPBOX_STYLE = 'mapbox://styles/mapbox/streets-v9';
const GET_INFO = gql`
query getInfo {
getInfo {
View gist:fbe2f3e5dadb197dc2c9f4947993bd08
import {
CartesianGrid, Line, LineChart, XAxis, YAxis, Tooltip,
} from 'recharts';
import React, { Fragment } from 'react';
import gql from 'graphql-tag';
import { Query } from 'react-apollo';
const GET_INFO = gql`
query getInfo {
getInfo {