nathanielhall / menu-list

Menu list component created using Material UI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

App Screenshot

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>

About

Menu list component created using Material UI.


Languages

Language:TypeScript 64.1%Language:JavaScript 34.4%Language:HTML 1.6%