Skip to content

Instantly share code, notes, and snippets.

@emmabostian
Created January 12, 2020 09:38
Show Gist options
  • Select an option

  • Save emmabostian/16d8045aa902a57339b7260d22f2e589 to your computer and use it in GitHub Desktop.

Select an option

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