Skip to content

Instantly share code, notes, and snippets.

@yjose
Created February 19, 2018 21:38
Show Gist options
  • Select an option

  • Save yjose/fe224a07cdac48c7c1c55901d773c9ad to your computer and use it in GitHub Desktop.

Select an option

Save yjose/fe224a07cdac48c7c1c55901d773c9ad to your computer and use it in GitHub Desktop.

Revisions

  1. yjose created this gist Feb 19, 2018.
    9 changes: 9 additions & 0 deletions BurgerIcon-step1.jsx
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    import React from "react";

    export default ({ open}) => (
    <div className={open ? "burger-menu open" : "burger-menu"}>
    <div className="bar1" key="b1" />
    <div className="bar2" key="b2" />
    <div className="bar3" key="b3" />
    </div>
    );