Last active
April 7, 2021 18:37
-
-
Save meshulam/e7d4f9b61aec3757e6641c5a28b6edfc to your computer and use it in GitHub Desktop.
CategoryFlyout demo
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
export function CategoryFlyout({ visible }) { | |
const classes = classNames( | |
'category-flyout', | |
{ 'category-flyout--visible': visible }, | |
); | |
return ( | |
<div className={classes} role="dialog" aria-hidden={!visible}> | |
{/* heading, links, image, etc */} | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment