/*
 * @Author: your name
 * @Date: 2021-09-06 11:32:58
 * @LastEditTime: 2021-10-09 09:01:30
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /MedicalWisdomCheckSys/src/components/MccsProCard/index.tsx
 */



import React from 'react'
import ProCard from '@ant-design/pro-card';
import './style.less';

// 卡片组件，参考antD ProCard

type MccsProCardProps = {
    gutter?: number,
    ghost?: boolean,
    isProCard?: boolean,
    colSpan?: number | string,
    direction?: "column" | "row" | undefined,
    [propName: string]: any;
}


const MccsProCard: React.FC<MccsProCardProps> = (props) => {
  const { children,...restProps } = props;

  return (
    <ProCard
      {...restProps}
    >
       {children}
   </ProCard>
  );
};


// 参考 源码：https://github.com/ant-design/pro-components/blob/master/packages/card/src/ProCard.tsx
MccsProCard.isProCard = true;

export default MccsProCard

