yapi/client/components/Header/Header.js
2017-07-10 21:29:03 +08:00

33 lines
653 B
JavaScript

import './Header.scss'
import React, { Component } from 'react'
import { Link } from 'react-router-dom'
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>
)
}
}
export default Header