yapi/client/components/Header/Header.js

33 lines
653 B
JavaScript
Raw Normal View History

2017-07-10 11:50:56 +08:00
import './Header.scss'
2017-07-07 17:26:31 +08:00
import React, { Component } from 'react'
2017-07-10 21:29:03 +08:00
import { Link } from 'react-router-dom'
2017-07-07 17:26:31 +08:00
class Header extends Component {
constructor(props) {
super(props)
}
render () {
return (
<acticle className="header-box">
<div className="content">
<h1>YAPI</h1>
<ul>
<li>
<Link to={`/Login`}>登录</Link>
</li>
<li>
<Link to={`/ProjectGroups`}>分组</Link>
</li>
</ul>
<em><i className="iconfont" data-reactid="30"></i></em>
</div>
</acticle>
)
}
2017-07-06 01:09:33 +08:00
}
2017-07-07 17:26:31 +08:00
2017-07-10 21:29:03 +08:00
export default Header