based on Lucas Bebber's Gooey Menu
I've updated the implementation to use TypeScript and modern-ish React
npm install --save react-gooey-nav
import { Menu, Item } from "react-gooey-nav";
var nav = (
<Menu orientation="bottom">
<Item title="Cool!">😎</Item>
<Item
title="Kitty"
componentProps={{ onClick: () => console.log("Meow!") }}
>
😸
</Item>
</Menu>
);
Run the example with:
npm start
Thanks Lucas!