Skip to content

Instantly share code, notes, and snippets.

@christiannwamba
Created May 30, 2018 14:54
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 christiannwamba/c374ff7236e09d2dd9611f9bbc96c972 to your computer and use it in GitHub Desktop.
Save christiannwamba/c374ff7236e09d2dd9611f9bbc96c972 to your computer and use it in GitHub Desktop.
//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