Menu List
Menu list component created using Material-UI
System Requirements
Setup
git clone https://github.com/nathanielhall/menu-list.git
cd menu-list
npm install
This will launch the application in your browser at http://localhost:8080
. If
the browser doesn't open, try typing in the address.
You should see the menu list component in your browser:
Usage
Example creating a list of menu items
<MenuList heading="John Doe">
<MenuListItem onClick={() => console.log('Profile clicked')}>
Profile
</MenuListItem>
<MenuListItem onClick={() => console.log('Account clicked')}>
Account
</MenuListItem>
<hr />
<MenuListItem>
<PersonIcon />
My Profile
</MenuListItem>
</MenuList>