import React, { Component } from 'react'
import PropTypes from 'prop-types'
import { Row, Col, Tabs } from 'antd';
import './interface.scss'
import InterfaceMenu from './InterfaceList/InterfaceMenu.js'
import InterfaceContent from './InterfaceList/InterfaceContent.js'
import InterfaceColMenu from './InterfaceCol/InterfaceColMenu.js'
import InterfaceColContent from './InterfaceCol/InterfaceColContent.js'
class Interface extends Component {
static propTypes = {
match: PropTypes.object
}
constructor(props) {
super(props)
this.state = {
contentView: 'list'
}
}
handleTab = (key) => {
this.setState({
contentView: key
})
}
render() {
const {contentView} = this.state;
let content;
content = contentView === 'list' ?