Skip to content

Instantly share code, notes, and snippets.

@emmabostian
Created January 12, 2020 09:31
Show Gist options
  • Save emmabostian/07bcff4ee1c1b846733a520c294dde8d to your computer and use it in GitHub Desktop.
Save emmabostian/07bcff4ee1c1b846733a520c294dde8d to your computer and use it in GitHub Desktop.
import React, { useState } from "react";
import ReactDOM from "react-dom";
import { useSpring } from "react-spring"
import { MenuRight } from "./Menu";
import "./styles.css";
function App() {
const [ rightMenuVisible, setRightMenuVisible ] = useState(false);
const rightMenuAnimation = useSpring();
return (
<div className="App">
<MenuRight />
</div>
);
}
const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment