yapi/client/containers/Interface/InterfaceList/InterfaceList.js
2017-07-14 11:27:34 +08:00

25 lines
493 B
JavaScript

import React, { Component } from 'react'
import PropTypes from 'prop-types'
class InterfaceList extends Component {
static propTypes = {
projectMember: PropTypes.func
}
constructor(props) {
super(props)
}
render () {
const { projectMember } = this.props
return (
<ul className="interface-list">
<li className="active">添加接口</li>
<li onClick={projectMember}>管理项目成员</li>
</ul>
)
}
}
export default InterfaceList