Skip to content

Instantly share code, notes, and snippets.

@emmabostian emmabostian/Menu.js
Created Jan 12, 2020

Embed
What would you like to do?
import React from "react";
import { animated } from "react-spring"
import "./menu.css";
export const MenuRight = ({ style }) => (
<animated.div style={style} className="menu menu--right">
<nav>
<ul className="menu-list menu-list--right">
<li className="menu-list-item menu-list-item--right">
<a href="/">Home</a>
</li>
<li className="menu-list-item menu-list-item--right">
<a href="/">About</a>
</li>
<li className="menu-list-item menu-list-item--right">
<a href="/">Work</a>
</li>
<li className="menu-list-item menu-list-item--right">
<a href="/">Contact</a>
</li>
</ul>
</nav>
</animated.div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.