mirror of
https://github.com/YMFE/yapi.git
synced 2024-12-21 05:19:42 +08:00
25 lines
493 B
JavaScript
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 |