/**
 * @author CYQ
 * 企业管理--监管设置页面
 */
import React from "react";
import { Form, Tabs } from "antd";
import OfficeSupervisor from "./OfficeSupervisor";
import PlaceSupervisor from './PlaceSupervisor';
import style from "styled-components";

const { TabPane } = Tabs;
@Form.create()
export default class Regulator extends React.Component {
  constructor(props, context) {
    super(props, context);
    this.state = {};
  }

  render() {
    return (
      <Container>
        <Tabs defaultActiveKey="1">
          <TabPane tab="办公地监管机构" key="1">
            <OfficeSupervisor />
          </TabPane>
          <TabPane tab="注册地监管机构" key="2">
            <PlaceSupervisor />
          </TabPane>
        </Tabs>
      </Container>
    );
  }
}

export const Container = style.div`{
    padding: 10px 24px 24px;
  }`;
