-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathApp.js
More file actions
34 lines (32 loc) · 1 KB
/
App.js
File metadata and controls
34 lines (32 loc) · 1 KB
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
import React from 'react'
import ReactRouter, {RouteHandler, Link} from 'react-router'
import {Menu, Segment, Section} from 'react-semantify'
class App extends React.Component {
render() {
const styles= {
margin: 10
};
return (
<Section style={styles}>
<Menu>
<Link to="home" className="item">
<i className="home icon"></i>
Home
</Link>
<Link to="about" className="item">
<i className="bomb icon"></i>
About
</Link>
</Menu>
<RouteHandler/>
<Segment>
Git:
<a href="https://github.com/hipertracker/react-es7">
https://github.com/hipertracker/react-es7
</a>
</Segment>
</Section>
)
}
}
export default App