-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathNavMenu.jsx
More file actions
40 lines (35 loc) · 901 Bytes
/
NavMenu.jsx
File metadata and controls
40 lines (35 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import React from 'react';
import {Menu, MainButton, ChildButton} from 'react-mfb';
export default class NavMenu extends React.Component {
render() {
return(
<Menu effect="zoomin" method="click" position="tr">
<MainButton iconResting="ion-drag" iconActive="ion-close-round" />
<ChildButton
icon="ion-ios-home"
label="Home"
onClick = {(e) => {}}
href="/"
/>
<ChildButton
icon="ion-android-laptop"
label="Work"
onClick = {(e) => {}}
href="/work"
/>
<ChildButton
icon="ion-android-person"
label="About"
onClick = {(e) => {}}
href="/about"
/>
<ChildButton
icon="ion-email"
label="Contact"
onClick = {(e) => {}}
href="/contact"
/>
</Menu>
)
}
}