import { ProForm } from '@ant-design/pro-components';
import React from 'react';
import SkuConfig from './sku-confiig';
import SkuList from './sku-list';

const Sku: React.FC = () => {
  return (
    <>
      <ProForm.Item
        style={{ width: '100%' }}
        name="prodPropSaveReqVO"
        layout="horizontal"
        width="xl"
        // getValueFromEvent={(e) => e.fileList}
      >
        <SkuConfig />
      </ProForm.Item>
      <ProForm.Item
        style={{ width: '100%' }}
        name="skuList"
        layout="horizontal"
        width="xl"
        // getValueFromEvent={(e) => e.fileList}
      >
        <SkuList />
      </ProForm.Item>
    </>
  );
};

export default React.memo(Sku);
