Skip to content

Instantly share code, notes, and snippets.

@emmabostian
Created January 12, 2020 09:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmabostian/16d8045aa902a57339b7260d22f2e589 to your computer and use it in GitHub Desktop.
Save emmabostian/16d8045aa902a57339b7260d22f2e589 to your computer and use it in GitHub Desktop.
<button
className="menu-button menu-button--full"
onClick={() => setFullMenuVisible(!fullMenuVisible)}
>
{fullMenuVisible ? "Close" : "Full Menu"}
</button>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment