Skip to content

Instantly share code, notes, and snippets.

@meshulam
Last active April 7, 2021 18:37
Show Gist options
  • Save meshulam/e7d4f9b61aec3757e6641c5a28b6edfc to your computer and use it in GitHub Desktop.
Save meshulam/e7d4f9b61aec3757e6641c5a28b6edfc to your computer and use it in GitHub Desktop.
CategoryFlyout demo
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