import React from 'react';
import { Tabs,Card } from 'antd';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import First from './components/first';
import Detailed from './components/detailed';


const Config: React.FC<{}> = () => {
  const { TabPane } = Tabs;
  //控制展示页
  const callback = (key: any) => {
    
  }
  return(
    <PageHeaderWrapper>
      <Card>
        <Tabs defaultActiveKey="1" onChange={callback} size={"large"} >
          <TabPane tab="初审设置" key="1">
            <First/>
          </TabPane>
          <TabPane tab="详审设置" key="2">
            <Detailed/>
          </TabPane>
        </Tabs>
      </Card>
    </PageHeaderWrapper>
  )
}
export default Config;