omtv-react-main-menu
v2.0.1
Published
MainMenu component
Downloads
2
Readme
Set of componets for building main menu section of a website.
Each component supports theming.
Install
npm i omtv-react-main-menu
Use cases
import {MainMenu, MenuItem} from 'omtv-react-main-menu';
<MainMenu>
<MenuItem props={{href:"#prices"}}>Prices</MenuItem>
<MenuItem props={{href:"#contacts"}}>Contacts</MenuItem>
</MainMenu>
Start component development
- Start webpack dev server for demo project
npm run bemo
. - Start component build with
npm run start
.