Instantly share code, notes, and snippets.

Embed
What would you like to do?
//Hamburger.js
import React, { Component } from 'react';
import styled from 'styled-components';
import { Motion, spring } from 'react-motion';
import './App.css';
const Drawer = styled.div`
position: absolute;
height: 90%;
background: black;
width: 40vh;
left: ${props => props.left}vh;
`;
const Link = styled.div`
cursor: pointer;
padding: 1em 1em 1em 3em;
color: white;
font-weight: bold;
`;
// ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment