

import React from 'react'
import PropTypes from 'prop-types'

import { Button, Dropdown, Menu } from 'antd';
import { PageContainer } from '@ant-design/pro-layout';

import './index.less';



function MccsPageContainer(props) {
    /**
     * @param {*} children 
     * @param {Object} config  //组件配置信息，参考ProComponent ProContainer
     * @returns 
     */
    const {children,config} = props;
    return (
        <PageContainer
           {
               ...config
           } 
           style={{padding:'16px'}} 
        >
             {
                children
             }
        </PageContainer>
    )
}

MccsPageContainer.propTypes = {
    config:PropTypes.object,
    children:PropTypes.node
}

export default MccsPageContainer

