import { Card, Collapse, CollapseProps, Form } from 'antd';
import React, { useEffect } from 'react';
import SimpleOptions from './SimpleOptions';
import TrailOptions from './TrialOptions';


const DubSetting: React.FC = () => {

  const onChange = (key: string | string[]) => {
  };

  const items: CollapseProps['items'] = [
    {
      key: 'simpleOptions',
      label: '通用配置',
      children: <SimpleOptions></SimpleOptions>,
    }, {
      key: 'trailOptions',
      label: '试用设置',
      children: <TrailOptions />,
    }
  ];

  return (
    <Collapse items={items} bordered={false} ghost onChange={onChange} />
  );
};

export default DubSetting;