mirror of
https://github.com/YMFE/yapi.git
synced 2025-01-12 12:54:48 +08:00
29 lines
402 B
JavaScript
29 lines
402 B
JavaScript
import React, { Component } from 'react'
|
|
import PropTypes from 'prop-types'
|
|
|
|
export default class GroupList extends Component {
|
|
|
|
static propTypes = {
|
|
children: PropTypes.element
|
|
}
|
|
|
|
state = {
|
|
}
|
|
|
|
constructor(props) {
|
|
super(props)
|
|
}
|
|
|
|
componentWillMount() {
|
|
}
|
|
|
|
render () {
|
|
return (
|
|
<div>
|
|
我是项目页喔
|
|
{this.props.children}
|
|
</div>
|
|
)
|
|
}
|
|
}
|