Skip to content

Instantly share code, notes, and snippets.

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

What would you like to do?
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 />
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
You can’t perform that action at this time.