Created
April 27, 2020 12:05
-
-
Save marshallmurphy/18f2ae459a0e595d573983d04c83526d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{active && ( | |
<div className={styles.menu}> | |
<div tabIndex='0' className={styles.menuItem}>Item A</div> | |
<div tabIndex='0' className={styles.menuItem}>Item B</div> | |
<div tabIndex='0' className={styles.menuItem} onKeyDown={e => closeMenu(e)}>Item C</div> | |
</div> | |
)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment