-
-
Save christiannwamba/c374ff7236e09d2dd9611f9bbc96c972 to your computer and use it in GitHub Desktop.
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
//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